Home > Web Front-end > JS Tutorial > body text

ExtJS 2.0 practical and concise tutorial application ExtJS_extjs

WBOY
Release: 2016-05-16 18:53:23
Original
936 people have browsed it

The style file is resources/css/ext-all.css. The js library file of extjs mainly includes two, adapter/ext/ext-base.js and ext-all.js, where ext-base.js represents the framework base library. ext-all.js is the core library of extjs. adapter means adapter, which means there can be multiple adapters. Therefore, you can replace adapter/ext/ext-base.js with adapter/jquery/ext-jquery-adapter.js, or adapter/prototype/ext-prototype-adapter .js etc.
Therefore, pages that use the ExtJS framework generally include the following sentences:

Copy code The code is as follows:





After the ExtJS library file and page content are loaded, ExtJS will execute the function specified in Ext.onReady, so it can be used. Under normal circumstances, each user's ExtJS application Starting from Ext.onReady, the code for using ExtJS application is roughly as follows:
Copy the code The code is as follows:

<script> function fn() { alert('ExtJS library has been added'); } Ext.onReady(fn); </script>

fn can also be written as The form of an anonymous function, so the above code can be changed to the following form:
Copy the code The code is as follows:

Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template