getPreviousPage
Description
Returns the name of the page the user was on before the current page.
Input / Parameter
N/A
Output
Description | Output Type |
---|---|
Returns the name of the previous page. | String/Text |
Callback
N/A
Video
Coming Soon.
Example
The user wants to get the name of the previous page they were on.
Steps
No. | Description | |
---|---|---|
1. | Drag a button to a page in the mobile designer. Select the event | |
2. | Fill in the parameters of the function. | |
3. | Drag the | |
4. | Select the | |
5. | Drag the |
Result
When the button is pressed, the page will navigate to pgWelcome and the console will show the name of the previous page.
Links
Last updated