ons-splitter


  • Onsen UI

    A component that enables responsive layout by implementing both a two-column layout and a sliding menu layout. It can be configured to automatically expand into a column layout on large screens and collapse the menu on smaller screens. When the menu is collapsed the user can open it by swiping.

    Click here to see the original article



  • If you want to use it as menu, it’s better to replace 42 line with this:
    <ons-splitter-side collapse=“collapse” swipeable=“true” [page]=“sidePage” side=“left” width=“200px” style=“border-right: 1px solid #ccc”>


Log in to reply