JQuery Easyui API Chinese document-Easyloader loader _jquery

Source: Internet
Author: User
Usage
Copy Code code as follows:

Easyloader.base = '.. /'; Set the basic path for Easyui
Easyloader.load (' Messager ', function () {//Loading specified module
$.messager.alert (' Title ', ' load OK ');
});

Characteristics

Name

Type

Description

Default value

Modules

Object

A predefined module.

Locales

Object

A predefined locale.

Base

String

the basic path of the Easyui must end With '/' .

The base path will be automatically set relative to the Easyload.js

Theme

String

Defines the name of the topic under the ' Themes ' directory.

Default

Css

Boolean

Defines whether to load a CSS file when the module is loaded .

True

Locale

String

Language environment name.

Null

Timeout

Number

The time-out value in milliseconds, which is triggered if a time-out occurs.

2000

Language environment defined

    • Af
    • Bg
    • Ca
    • Cs
    • Da
    • De
    • En
    • Fr
    • nl
    • Zh_cn
    • Zh_tw

Event

Name

Parameters

Description

OnProgress

Name

Triggered when a module is successfully loaded.

OnLoad

Name

triggered when a module and its dependencies are successfully loaded.

Method

name

< strong> parameters

description

load

module, callback

to load the specified module. A callback function is invoked when the load is successful. The valid types of

module are:
single module name
one module array span Arial ', ' Sans-serif ' ' ">
with ending css file
ends with js file

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.