Easyloader Examples of jQuery Easyui (1/18)

Source: Internet
Author: User
Tags locale

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.