What does Navigation.history.current.initialPlaceholder do? RRS feed

  • Question

  • Its found in the newest project templates and I cannot find any docs about it.
    Monday, October 1, 2012 12:18 PM


  • Hi, phil_ke

    "Navigation.history.current.initialPlaceholder" is a kind of flag that is "true" when your app  has been reactivated from suspension. This is used on base.js just to check if is necessary to "push" a history in the backStack. This mean that, if your app has been newly launch, the navigator don't have a history. On the other hand, if your app has been reactivated from suspension, is necessary to consider this history to allow the user navigate back the pages.

    • Proposed as answer by geovanneb Wednesday, October 10, 2012 7:53 PM
    • Marked as answer by Song Tian Thursday, October 18, 2012 7:05 AM
    Thursday, October 4, 2012 7:36 PM