精华帖 (1) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2009-05-21
最后修改:2009-05-21
抛砖引玉吧,现在还没有中文版本出现
引言:
Ext core 是一个轻量级的特性丰富的javascript库,ext-core的丰富特性可以使得web开发具有良好的设计和可扩展性。 <script src="ext-core-debug.js"></script>
<script src="ext-core.js"></script>
Ext.onReady(function() { Ext.DomHelper.append(document.body, {tag: 'p', cls: 'some-class'}); Ext.select('p.some-class').update('Ext Core successfully injected'); });
Copyright (C) 2009 Ext JS, LLC. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
var el = Ext.get('myElementId');
var el = Ext.get('myElementId'); console.dir(el);
var el = Ext.get('myElementId'); el.addClass('error');
.error { color: red; }
Ext.fly('myElementId').removeClass('error');
var el = Ext.fly('foo'); Ext.fly('bar').frame(); el.addClass('error');
声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2009-05-23
good work!
|
|
返回顶楼 | |
发表时间:2009-05-31
我翻译了。http://ddden.cn/ext/3/core/manual/
|
|
返回顶楼 | |
发表时间:2009-05-31
哥们保持!
|
|
返回顶楼 | |
发表时间:2009-05-31
ddden 写道 我翻译了。http://ddden.cn/ext/3/core/manual/ 好啊,玉出来了 |
|
返回顶楼 | |
浏览 3404 次