Module: managers/nav-manager

This module manages common global navigation

Source:

Requires

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
manifest Object

Manifest from Prsonas application

Source:

onToggleMicrophone(forceState, affectIconOnly)

Toggles the microphone state

Parameters:
Name Type Description
forceState Boolean

Forces the microphone state

affectIconOnly Boolean

Just affect the icon state

Source:

onEventBtnClick(btnEvt, eventId, data)

Module configured button click

Parameters:
Name Type Description
btnEvt Event

Button event

eventId String

Event ID to be triggered

data Object

Data to be passed with the event

Source:

onNewPage(newPageData)

Maintains page history

Parameters:
Name Type Description
newPageData Object
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
data Object

Data associated with event history

Source:

onBackButtonClick(data)

Trigger back button

Parameters:
Name Type Description
data Object

Data associated with event history

Source: