Articles in this section
Category / Section

What are the definitions for transferPage API parameters?

1 min read

Transferpage function helps the user to transfer a HTML page from the current page via AJAX in JavaScript. This function accepts arguments like fromPage, toPage, options, and isAjax.

  1. The first argument accepts the appview object.
  2. The second argument accepts the URL, or string type, of the page to be navigated.
  3. The third argument accepts a JSON data that contains the transfer page options.
  4. 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:

  1. transition - Specifies the type of transition effects like slide, pop, and turn.
  2. reverse - Specifies the reverse direction of the current transition when it is set to True.
  3. changeHash - Specifies the new hash label that is to be appended to the URL.
  4. fromHashChange - Specifies the old hash label that was appended to the URL.
  5. hashMonitoring - Specifies whether the State maintenance is enabled or not.
  6. Direction - Specifies the transition direction.
  7. 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.
  8. pageUrl - Specifies the current page URL.
  9. title - Specifies title text for the page.
  10.  URL - Specifies the URL to be shown in the address bar.
  11.  isFromAJAX - Specifies whether the page is to be loaded from Ajax or not.
  12.  hash - Specifies the current hash label.

Conclusion

I hope you enjoyed learning about what are the definitions for transferPage API parameters.

You can refer to our JavaScript feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our JavaScript example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied