Category / Section
What are the definitions for the transferPage API parameters?
1 min read
Transferpage function helps the user to transfer a HTML page from the current page via AJAX. This function accepts arguments like fromPage, toPage, options, and isAjax.
- The first argument accepts the appview object.
- The second argument accepts the URL, or string type, of the page to be navigated.
- The third argument accepts a JSON data that contains the transfer page options.
- The fourth argument accepts Boolean value that is used to identity whether the page can be loaded from AJAX or not.
The Option data object, that is the third argument, contains the following object properties:
- transition - Specifies the type of transition effects like slide, pop, and turn.
- reverse - Specifies the reverse direction of the current transition when it is set to True.
- changeHash - Specifies the new hash label that is to be appended to the URL.
- fromHashChange - Specifies the old hash label that was appended to the URL.
- hashMonitoring - Specifies whether the State maintenance is enabled or not.
- Direction - Specifies the transition direction.
- parentSubpage - To activate current page as a subpage, instead of navigating the whole page, specified container is navigated, you need to set this property as True.
- pageUrl - Specifies the current page URL.
- title - Specifies title text for the page.
- URL - Specifies the URL to be shown in the address bar.
- isFromAJAX - Specifies whether the page is to be loaded from Ajax or not.
- hash - Specifies the current hash label.