Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| delta | Number | No | Number of pages to go back. Default: 1 |
Code Example
Go Back One Page
Go Back Multiple Pages
With Validation
Use Cases
Custom Back Button
Custom Back Button
Return After Form Submit
Return After Form Submit
Skip Intermediate Pages
Skip Intermediate Pages
Notes
- If
deltais greater than the number of pages in the stack, it navigates to the first page - You cannot navigate back from the first page in the stack
- Use
getCurrentPages()to check the current page stack
Related APIs
my.navigateTo
Navigate to a new page
my.reLaunch
Relaunch to a page