This module manages common global navigation
- Source:
Requires
- module:modules/hash
- module:common/view
- module:managers/template-manager
- module:managers/prsonas-manager
- module:jHammer
Methods
-
init()
-
Initializes class
- Source:
Fires:
- event:assignListeners()
-
initHotkeys()
-
Initializes hot key handling from project JSON document.hotkeys. Also, enables/disables nuBrowser key capture based on SDK config EnableGlobalKeyHandling
- Source:
-
onProcessManifest(manifest)
-
Gathers data from manifest
Parameters:
Name Type Description manifestObject Manifest from Prsonas application
- Source:
-
onToggleMicrophone(forceState, affectIconOnly)
-
Toggles the microphone state
Parameters:
Name Type Description forceStateBoolean Forces the microphone state
affectIconOnlyBoolean Just affect the icon state
- Source:
-
onEventBtnClick(btnEvt, eventId, data)
-
Module configured button click
Parameters:
Name Type Description btnEvtEvent Button event
eventIdString Event ID to be triggered
dataObject Data to be passed with the event
- Source:
-
onNewPage(newPageData)
-
Maintains page history
Parameters:
Name Type Description newPageDataObject - Source:
-
onBackButtonNoAnimClick(data)
-
Trigger back button with no intent/animation action by triggering history event adding _NO_ANIM to prevent redundant animation
Parameters:
Name Type Description dataObject Data associated with event history
- Source:
-
onBackButtonClick(data)
-
Trigger back button
Parameters:
Name Type Description dataObject Data associated with event history
- Source: