Navigation

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

    kelleycooper

    @kelleycooper

    0
    Reputation
    1
    Posts
    255
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    kelleycooper Follow

    Posts made by kelleycooper

    • RE: OnsNavigator pushPage(page, [options]) , loads page with a significant delay. (Angular)

      @emccorson said in OnsNavigator pushPage(page, [options]) , loads page with a significant delay. (Angular) 8 ball pool:

      ons.preload looks like it should do the trick.

      You just need to pass ons.preload the names of the templates you want to preload and then call .then on the promise returned by preload. In the callback function, do whatever you need to - this will run when the templates have loaded.

      Thank you very much for your quick reply, much appreciated.

      posted in Onsen UI
      kelleycooper