UI Event Constants

The following table lists the names of events that occur for the ContextHub UI.

ConstantDescriptionValue
ContextHub.Constants.EVENT_UI_MODE_REGISTEREDFired when a mode is registeredui-mode-registered
ContextHub.Constants.EVENT_UI_MODE_UNREGISTEREDFired when a mode is unregisteredui-mode-unregistered
ContextHub.Constants.EVENT_UI_MODE_RENDERER_REGISTEREDFired when a mode renderer is registeredui-mode-renderer-registered
ContextHub.Constants.EVENT_UI_MODE_RENDERER_UNREGISTEREDFired when a mode renderer is unregisteredui-mode-renderer-unregistered
ContextHub.Constants.EVENT_UI_MODE_ADDEDFired when a new mode is addedui-mode-added
ContextHub.Constants.EVENT_UI_MODE_REMOVEDFired when a mode is removedui-mode-removed
ContextHub.Constants.EVENT_UI_MODE_SELECTEDFired when a mode is selected by the userui-mode-selected
ContextHub.Constants.EVENT_UI_MODULE_REGISTEREDFired when a new module is registeredui-module-registered
ContextHub.Constants.EVENT_UI_MODULE_UNREGISTEREDFired when a module is unregisteredui-module-unregistered
ContextHub.Constants.EVENT_UI_MODULE_RENDERER_REGISTEREDFired when a module renderer is registeredui-module-renderer-registered
ContextHub.Constants.EVENT_UI_MODULE_RENDERER_UNREGISTEREDFired when a module renderer is unregisteredui-module-renderer-unregistered
ContextHub.Constants.EVENT_UI_MODULE_ADDEDFired when a new module is addedui-module-added
ContextHub.Constants.EVENT_UI_MODULE_REMOVEDFired when a module is removedui-module-removed
ContextHub.Constants.EVENT_UI_CONTAINER_ADDEDFired when the UI container is added to the pageui-container-added
ContextHub.Constants.EVENT_UI_CONTAINER_OPENEDFired when the ContextHub UI is openedui-container-opened
ContextHub.Constants.EVENT_UI_CONTAINER_CLOSEDFired when the ContextHub UI is collapsedui-container-closed
ContextHub.Constants.EVENT_UI_PROPERTY_MODIFIEDFired when a property is modifiedui-property-modified
ContextHub.Constants.EVENT_UI_RENDEREDFired every time the ContextHub UI is rendered (for example, after a property change)ui-rendered
ContextHub.Constants.EVENT_UI_INITIALIZEDFired when UI container gets initializedui-initialized
ContextHub.Constants.ACTIVE_UI_MODEIndicates active UI mode/_/active-ui-mode