eLabSDK.Wizard.Panel

Classes

NameDescription
initialize

Members

NameDescription
_panelBody
_data

Functions

NameDescription
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

NameDescription
"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)

ParamType
configobject

_panelBody

Kind: global variable
Properties

NameType
_panelBodyarray

_data

Kind: global variable
Properties

NameType
_dataobject

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

ParamType
configobj

remove(object)

Remove the object from the panel(Body)

Kind: global function
Returns: obj - _panelBody

ParamType
objectobj

_render(_panelBody)

Create a new panel - runs only once unless the panel to activate does not excist

Kind: global function
Returns: obj - _panelBody

ParamType
_panelBodyobj

setData(data)

Save the current formdata for the active panel to the _data[] array

Kind: global function

ParamType
dataobject

getData(data)

return the data for the given panel

Kind: global function

ParamType
dataobject

"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