eLabSDK.Wizard.Panel
Classes
Name | Description |
---|---|
initialize |
Members
Name | Description |
---|---|
_panelBody | |
_data |
Functions
Name | Description |
---|---|
activate() | Check if the panel excists, if so unhide it, otherwise create it through the _render() method |
addHTML(config) | Add html to the panel |
remove(object) | Remove the object from the panel(Body) |
_render(_panelBody) | Create a new panel - runs only once unless the panel to activate does not excist |
setData(data) | Save the current formdata for the active panel to the _data[] array |
getData(data) | return the data for the given panel |
Events
Name | Description |
---|---|
"onRender" | Method triggered after the panel has been rendered |
"onRender" | Method triggered after the panel has been turned hidden |
initialize
Kind: global class
new initialize(config)
Param | Type |
---|---|
config | object |
_panelBody
Kind: global variable
Properties
Name | Type |
---|---|
_panelBody | array |
_data
Kind: global variable
Properties
Name | Type |
---|---|
_data | object |
activate()
Check if the panel excists, if so unhide it, otherwise create it through the _render() method
Kind: global function
addHTML(config)
Add html to the panel
Kind: global function
Param | Type |
---|---|
config | obj |
remove(object)
Remove the object from the panel(Body)
Kind: global function
Returns: obj
- _panelBody
Param | Type |
---|---|
object | obj |
_render(_panelBody)
Create a new panel - runs only once unless the panel to activate does not excist
Kind: global function
Returns: obj
- _panelBody
Param | Type |
---|---|
_panelBody | obj |
setData(data)
Save the current formdata for the active panel to the _data[] array
Kind: global function
Param | Type |
---|---|
data | object |
getData(data)
return the data for the given panel
Kind: global function
Param | Type |
---|---|
data | object |
"onRender"
Method triggered after the panel has been rendered
Kind: event emitted
Example
var pn = panel1.onRender(function () {
alert('Panel onRender');
});
"onRender"
Method triggered after the panel has been turned hidden
Kind: event emitted
Example
var pn = panel1.onExit(function () {
alert('Panel onExit');
});
© 2023 eLabNext
Updated 10 months ago