css - How to do sidemenu as a overlay in ionic? -
i'm new ionic framework. need follow ionic tags sidemenu overlay. please me.
the default style of sidemenu gives drag style need side menu overlay.
<ion-side-menus enable-menu-with-back-views="true"> <ion-side-menu-content> <ion-nav-bar class="bar-positive"> <ion-nav-back-button> </ion-nav-back-button> <ion-nav-buttons side="left"> <button class="button button-icon button-clear ion-navicon" menu-toggle="left"> </button> </ion-nav-buttons> </ion-nav-bar> <ion-nav-view name="menucontent"></ion-nav-view> </ion-side-menu-content> <ion-side-menu side="left"> <ion-header-bar class="bar-stable"> <h1 class="title">left</h1> </ion-header-bar> <ion-content> <ion-list> <ion-item menu-close ng-click="login()"> login </ion-item> <ion-item menu-close href="#/app/search"> search </ion-item> <ion-item menu-close href="#/app/browse"> browse </ion-item> <ion-item menu-close href="#/app/playlists"> playlists </ion-item> </ion-list> </ion-content> </ion-side-menu> </ion-side-menus>
it's toggleable side menu. if want overlay unfortunately you'll have make own.
Comments
Post a Comment