facebook

Programmatically navigating to a new 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
  • #318710 Reply

    SonamGyato
    Member

    what’s the proper way

    phoneui.gotoPage( “#m1-legs” );

    the above call does not call the prePageTransition() method

    setNewLocation( “#m1-legs” );

    getting an undefined – even though it seems like a global
    var in phoneui.js

    #318736

    support-michael
    Keymaster

    The following function is the correct mechanism for programmatically navigating to a new page.

    phoneui.gotoPage(pageId, [transition])

    As you have identified there is a bug in the gotPage() implementation that fails to correctly call phoneui.preTransition() and phoneui.postTransition() functions. I have opened a bug and this will be resolved in the 1.2.2 release planned by the end of this week.

    Thanks for your assistance in indentifying this issue.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Programmatically navigating to a new page

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