The jquery Easyui all have attributes, and we'll explain these methods and their properties here.
Let's look at some base methods first.
Easyloader
Easyloader.base = '.. /'; Set the Easyui base directory
Easyloader.load (' Messager ', function () {//load the specified module
$.messager.alert (' title ', ' Load OK ');
});
The code above is the method used by the Easyloader () method.
Easyloader A total of seven properties, respectively:
Modules, whose type is object, represents a predefined module with no default value.
Locales, whose type is object, represents a predefined locale with no default value.
Base, its type is string, which indicates that it is a Easyui base directory and must end with '/'. The directory is automatically set to the default easyloader.js before it is overwritten.
Theme, its type is String,theme's name is the directory of the defined theme, and its default value is defaults.
The CSS tutorial, whose type is Boolean, loads the CSS file when the module that defines the CSS file is loaded, and its default value is true.
Locale, whose type is string, represents the locale name, and the default value is null.
Timeout, its type is number, and if a timeout occurs, its unit is milliseconds, and its default value is 2000.
Home 1 2 3 4 5 6 7 8 9 a
page