Module: SettingsService

SettingsService is a singleton that provides the navigation service. It gets the corresponding panel module from PanelCache and call to its basic functions when navigating.

Source:

Methods

back()

Go back to previous panel

.

Go back to previous panel

Source:

init(options)

Init SettingsService.

Init SettingsService.

Parameters:
Name Type Description
options Object
Properties
Name Type Description
rootPanelId String

Panel with the specified id is assumed to be be kept on on the screen always. We don't call to its hide and beforeHide functions.

context Object

The launch context specifying the default panel and the activity handler if the app is invoked by web activities.

Properties
Name Type Description
initialPanelId String
activityHandler ActivityHandler
Source:

Navigate to a panel with options.

Navigate to a panel with options. The navigation transition is determined based on the current screen size and orientation.

Parameters:
Name Type Description
panelId String
options Object
callback function
Source: