UIContextFocus Constructor

Constructor.
 

Parameters

focusLogic

Type: Function
The logic to run when context focused.
releaseLogic

Type: Function
The logic to run when context focus is released.
options

Type: Object
Options: toolbarCommands - [type="Array", elementType="dundas.controls.ToolbarItem"] - the toolbar items that the tool bar will display when in context focus. If specified, toolbar will be restored to prior to context focus when context focus is released.
Optional: True