DevTool 

Developer tools, used mostly for navigating the page state history.

Kind: global class


new DevTool(pageManager, stateManager, window, dispatcher, eventBus) 

Initializes the developer tools.

Param Type Description
pageManager PageManager Application page manager.
stateManager PageStateManager Application state manager.
window Window IMA window wrapper.
dispatcher Dispatcher IMA event dispatcher.
eventBus EventBus IMA DOM event bus.

devTool._pageManager : PageManager 

Application page manager.

Kind: instance property of DevTool


devTool._stateManager : PageStateManager 

Application state manager.

Kind: instance property of DevTool


devTool._window : Window 

IMA window wrapper.

Kind: instance property of DevTool


devTool._dispatcher : Dispatcher 

IMA event dispatcher.

Kind: instance property of DevTool


devTool._eventBus : EventBus 

IMA DOM event bus.

Kind: instance property of DevTool


devTool.init() 

Initializes the developer tools.

Kind: instance method of DevTool


devTool.setState(statePatch) 

Sets the provided state to the state manager.

Kind: instance method of DevTool

Param Type Description
statePatch Object.<string, \*> A patch of the current page state.

devTool.getState() ⇒ Object.<string, \*> 

Returns the current page state.

Kind: instance method of DevTool
Returns: Object.<string, \*> - The current page state.


devTool.clearAppSource() 

Clears the current application state.

Kind: instance method of DevTool