facebook

How to perform code everytime navigating to the page

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #337802 Reply

    nabeelnar
    Member

    Dears,
    I have a page that display user data, this page go to Database and retrieve all data, if user click on “Add new” button he will navigate to another page, where he can add new item, when he return back to previous page his item is not shown, how can i refresh items?
    or how can i perfor code palced in HTML component every time the page appeared.

    thank you in advance.

    #337839

    Brandon
    Member

    To perform an action on a page change use the
    phoneui.postPageTransition
    or
    phoneui.prePageTransition

    if you can use an if statement to make sure you only do it on the correct page if needed.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to perform code everytime navigating to the page

You must be logged in to post in the forum log in