2016-12-01 166 views
1

我有問題去除我的離子應用程序的動畫。主要問題是我不知道如何禁用屏幕刷卡側邊欄打開。我希望我的側欄打開,點擊導航圖標不要在頁面滑動時打開。 我的導航代碼在這裏:離子導航邊欄

<ion-side-menus> 
    <ion-side-menu-content> 
    <ion-nav-bar class="bar-traveler"> 
     <ion-nav-back-button> 
     </ion-nav-back-button> 
     <ion-nav-title class="heder-tabs"> 
     <span><a >Travel</a></span> 
     <span><a >Location</a></span> 
     <span><a >Networking</a></span> 
     </ion-nav-title> 
     <ion-nav-buttons side="right"> 
     <button class="button button-icon button-clear ion-navicon" menu-toggle="right"> 
     </button> 
     </ion-nav-buttons> 
    </ion-nav-bar> 
     <ion-nav-view class="has-header"></ion-nav-view> 
    </ion-side-menu-content> 


    <ion-side-menu side="right"> 
    <ion-content> 
     <ion-list> 
     <ion-item menu-close ng-click=""> 
      Traveler 
     </ion-item> 
     <ion-item class="side-navigation-pinko" menu-close href=""> 
      <div class="pinko-nav"> 
      <div class="pinko-sidenav-logo"> 
       <img src="img/pro4travel-logo.png"> 
      </div> 
      <div class="first-three-nav-choice">Pinko</div> 
      </div> 
     </ion-item> 
     <ion-item menu-close href=""> 
      Club 
     </ion-item> 
     <ion-item menu-close ng-click=""> 
      My Agency 
     </ion-item> 
     <ion-item menu-close href=""> 
      My Karma 
     </ion-item> 
     <ion-item menu-close href=""> 
      Notification 
     </ion-item> 
     <ion-item menu-close href=""> 
      Profile 
     </ion-item> 
     <ion-item menu-close href=""> 
      Settings 
     </ion-item> 
     </ion-list> 
    </ion-content> 
    </ion-side-menu> 
</ion-side-menus> 

回答

2

找到解決方案我自己。我剛剛在離子菜單內容中加入了這樣的拖拽內容:

<ion-side-menu-content drag-content="false">