APP Framework $.ui.loadcontent parameter explanation

Source: Internet
Author: User

When using the app Framework $.ui.loadcontent (target,newtab,goback,transition), the NewTab goBack two parameters cannot be solved. By viewing the source code and practice finally understand the meaning.

Official explanation vague I won't post it now I'm talking about my understanding

If Newtab is true, the previous history stack will be purged after the target is loaded, which means that previously retained page histories will disappear. The history only retains the first page that the app opens, that is, the record of the page that selected= "true"

If GoBack is true. Then your current page (this current page refers to the "now this page" point, and then execute $.ui.loadcontent this page) is not retained in the browsing record. Also said, $.ui.loadcontent open the second page, you press the Back button, return to the previous page, the middle of the page will not return.

APP Framework $.ui.loadcontent parameter explanation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.