Class Qww.Ctls.UpdatingFeedback.Mgr
Simple control to show defined HTML whenever the application is updating. Can be used, for example,
to show an animated gif to give user feedback during updates.
Defined in: <JavaScript\QWW\QwwJs_UpdatingFeedbackCtlMgr.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Constructs a new Qww.Ctls.UpdatingFeedback.Mgr instance.
|
| Field Attributes | Field Name and Description |
|---|---|
|
Reference to the configuration object which was used to create construct the object.
|
| Method Attributes | Method Name and Description |
|---|---|
|
SetHtml(html)
Sets the HTML content of the DOM element whose Id was supplied during
creation of this object.
|
Class Detail
Qww.Ctls.UpdatingFeedback.Mgr(cfg)
Constructs a new Qww.Ctls.UpdatingFeedback.Mgr instance.
var updatingCtl = new Qww.Ctls.UpdatingFeedback.Mgr(
{
"ElementID" : 'updatingCtl',
"UpdatingHtml" : "I am updating...",
"NonUpdatingHtml" : "I am not updating."
});
- Parameters:
- {Object} cfg
- JSON object to configure ListBoxMgr.
- {String} cfg.ElementID
- Id of DOM element to show Updating/NonUpdating HTML in.
- {String} cfg.UpdatingHtml Optional, Default: "Updating..."
- HTML to show when the application is updating.
- {String} cfg.NonUpdatingHtml Optional, Default: ""
- HTML to show when the application is not updating.
- {Function} cfg.OnInitialised Optional
- Function to call when the control has been initialised.
- {Bool} cfg.Enabled Optional, Default: true
- Whether the control is enabled. Note that this can be updated after this object has been created via the .Cfg.Enabled property.
- {Function} cfg.OnInitialised Optional
- Function to call when the control has been initialised.
- {Function} cfg.OnRenderBegin Optional
- Function to call when the control is about to re-render.
- {Function} cfg.OnRenderComplete Optional
- Function to call when the control is about to complete rendering.
- Returns:
- {Qww.Ctls.UpdatingFeedback.Mgr} Qww.Ctls.UpdatingFeedback.Mgr
Field Detail
{Object}
Cfg
Reference to the configuration object which was used to create construct the object. This
allows certain properties to be updated after initial instantiation.
Method Detail
SetHtml(html)
Sets the HTML content of the DOM element whose Id was supplied during
creation of this object.
- Parameters:
- {String} html
- HTML to set.
