DivApp.js
Global
Class: DivApp
DivApp Workbench Application Class.
DivApp.constructor(settings, settings.el, settings.dataRoot, settings.staticRoot)
Overloaded constructor for workbench.Application.DivApp class.
Parameters
settings: Object
, an object that contains:
settings.el: Element
, the document element that will hold the DivApp,
settings.dataRoot: String
, the root path to the data, and
settings.staticRoot: String
, the root path to the Workbench distribution.
DivApp.destructor()
Overloaded destructor for workbench.Application.DivApp class.
DivApp.initialize()
Overloaded initialize for workbench.Application.DivApp class.
Create the data model, add a listener for when the data model is ready to be used, and fetch the model.
DivApp.render()
Overloaded render for workbench.Application.DivApp class.
If the model is loaded, load the layout for the DivApp.
DivApp.render(e)
modelReady an event handler for notification of when the data model is available.
When the model is loaded, remove the listener, and render the DivApp.
Parameters
e: CustomEvent
, the event triggered from loading the data model