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β
variableName
String
β
-
properties
{ [key]: anyValue }
-
Errorsβ
Here is a list of errors that can be thrown when calling this function in addition to generic errors:
INVALID_ARGUMENT
There is no block with variable name variableName
.
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
reload
Boolean
false
Errorsβ
Here is a list of errors that can be thrown when calling this function in addition to generic errors:
Last updated