This document is the Chinese manual for EXT, which provides detailed information on various parts of EXT, including Element, event handling, using Widgets, using Ajax, EXT source code overview, adapters, core, scope, program planning introduction, DomQuery basics, extending EXT components, EXT layout, Grid components, Menu components, templates, event handling, class design, form component introduction, and inheritance in EXT.
This manual provides step-by-step instructions for using the EXT JavaScript library, including core concepts like DOM element handling and event response. It covers practical examples such as creating grids, menus, and forms, along with advanced topics like templates, inheritance, and Ajax integration. The guide is designed for developers with basic JavaScript and HTML knowledge. This manual is written in Chinese.
使用 Element.on('event', function) 方法监听事件,例如 Ext.get('myButton').on('click', function(){ alert("You clicked the button"); });。
The element (Ext.element object) is the heart of Ext and serves as the foundation for the entire library's API.
The latest version of Ext can be downloaded from http://extjs.com/downloads.
This method ensures that all elements within a page can be referenced by a script after the current DOM has finished loading.