Navigation
Give the user a tour of your beautiful app using the navigation functions.
Navigateβ
Open a different block from the app. The block will be shown in a dialog-like fashion with a close button instead of a back button.
Passing propertiesβ
Data can be passed to the page by using the properties
argument. Data will be exposed in to the block via the data fields and {data:<name>}
template syntax. For example, for payment and checkout pages or other detail pages.
Argumentsβ
Name | Type | Required | Default |
---|---|---|---|
| String | β | - |
| { [key]: anyValue } | - |
Errorsβ
Here is a list of errors that can be thrown when calling this function in addition to generic errors:
Error Code | Description |
---|---|
| There is no block with variable name |
Go Backβ
Great for custom back buttons. By calling this function the user will be navigated back to the previous block, like pressing back on the device.
Exampleβ
Arguments
Name | Type | Required | Default |
---|---|---|---|
| Boolean | false |
Errorsβ
Here is a list of errors that can be thrown when calling this function in addition to generic errors:
Last updated