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
|
- Source:
navigate(panelId, options, callback)
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: