Reference Source
public class | source

Waiting

Waiting dialog class

Example:

KQ.Control.Waiting.show(map, 'pin', 'bubble');

KQ.Control.Waiting.show(map, 'text', '<strong>Please waiting ……</strong>');

KQ.Control.Waiting.hide();

Static Method Summary

Static Public Methods
public static

close(): Null

Close waiting dialog

public static

hide(): Null

Hide waiting dialog

public static

show(map: Object, type: String, content: String, isWithoutClose: Boolean, className: String): Null

Show waiting dialog

Static Public Methods

public static close(): Null source

Close waiting dialog

Return:

Null

public static hide(): Null source

Hide waiting dialog

Return:

Null

public static show(map: Object, type: String, content: String, isWithoutClose: Boolean, className: String): Null source

Show waiting dialog

Params:

NameTypeAttributeDescription
map Object

map object

type String

must be 'pin', 'text'

content String

{type:pin, content:round|balls|bubble|flip|skeleton|eclipse|boxes|meter}; {type:text, content:the text}

isWithoutClose Boolean

is without close button

className String

add class name

Return:

Null