Navigation

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

    Topics created by writeosahon

    • W

      How to display expandable content by default for <list-item>
      Onsen UI • listitem list-item expandable content • • writeosahon

      2
      0
      Votes
      2
      Posts
      3080
      Views

      @writeosahon, Try showExpansion on init. https://onsen.io/v2/api/js/ons-list-item.html#method-showExpansion
    • W

      OnSen UI <ons-if> component
      Onsen UI • components ons-if responsive update improvement • • writeosahon

      3
      0
      Votes
      3
      Posts
      3102
      Views

      W

      @Fran-Diox Yeah. ok. I’ll have to use media queries. But i was hoping to have something quick and simple without having to write my own bunch of rules to create responsiveness. Thanks for your response though, I appreciate it 👍
    • W

      Best way to use ons.enableDeviceBackButtonHandler()
      Onsen UI • • writeosahon

      8
      0
      Votes
      8
      Posts
      7882
      Views

      @writeosahon Quite accurate. The algorithm actually takes into account the zIndex/visibility of the components. Therefore, first it will catch Dialogs (those can be at the body level but are still displayed over everything else) and then the rest of the components. Something like this: dialogs -> menus -> pages -> navigator -> app, I guess. More info here. @munsterlander They are defined at the same time so they are all available for sure. I think there nothing that actually depends on ons.ready, to be honest, so maybe just ignore my comment :sweat_smile:
    • W

      OnDeviceBackButton properties and setDefaultDeviceBackButtonListener not working
      Onsen UI • • writeosahon

      7
      0
      Votes
      7
      Posts
      6309
      Views

      @abdul Did this help document not work? https://onsen.io/v2/docs/angular2/ons-back-button.html