Class: AjaxLoading

Cadcorp.UI.AjaxLoading

new AjaxLoading(config)

Displays activity text and image while an AJAX request is happening.
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Members

centreCssClass

Properties:
Name Type Description
centreCssClass string The css class to centre the display element

containerCssClass

Properties:
Name Type Description
containerCssClass string The css class to apply to the container element

imageCssClass

Properties:
Name Type Description
imageCssClass string The css class to apply to the image element

imageUrl

Properties:
Name Type Description
imageUrl string The url to an image to display

text

Properties:
Name Type Description
text string The text to display

textCssClass

Properties:
Name Type Description
textCssClass string The css class to apply to the text element

Methods

destroy()

Destroys this object

getUI() → {Object}

Gets the UI for this object
Returns:
A jQuery object that contains this object
Type
Object

hide()

Hides this object

setText(text)

Sets the text
Parameters:
Name Type Description
text string The new text

show()

Shows this object