Navigation

    Monaca & Onsen UI
    • Register
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. Husnain Tahir
    H
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Husnain Tahir

    @Husnain Tahir

    0
    Reputation
    3
    Posts
    1064
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Husnain Tahir Follow

    Posts made by Husnain Tahir

    • RE: Walktrough

      @munsterlander the problem is that so many items are being attached to the DOM.

      posted in Developer Corner
      H
      Husnain Tahir
    • RE: Walktrough

      @munsterlander oh sorry i forgot to mention ons.ready();, yeah that code will definitely execute, but thing is that i we have more than 1500 lines of code in a single file, it will take a while for ons.ready() to fire, and when it fires it will show the walkthrough may be even for a moment, but it will definitely show it.

      posted in Developer Corner
      H
      Husnain Tahir
    • RE: Walktrough

      @munsterlander the sample code you provided will throw an error because
      if (localStorage.getItem(“walkThroughPage”) === null) {
      localStorage.setItem(“walkThroughPage”,“pg1”);
      ** myNav.**pushPage(‘pg1’, {animation : ‘slide’});
      }
      myNav will be undefined, which you basically defined later in the code i-e
      <ons-navigator id=“myNav”>
      So how can somebody use a variable when it is not even defined?

      posted in Developer Corner
      H
      Husnain Tahir