
switchTo()Method
Description
Switches to a new view. The switch is visualized by a slide animation.
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | of the view |
| Object | viewParams | parameters for the view |
| Object | switchToParams | parameters for the switchTo function itself |
| Boolean | dontPushToHistory | new view won't be added to the history |
| Boolean | replaceLastHistoryEntry | new view will replace last view in history |