title: ionic slider - lockSwipes(true) disables initialSlide and slideNext() methods?
body: <p>Hi I'm using Ionic <a href="https://ionicframework.com/docs/api/components/slides/Slides/" rel="nofollow noreferrer">Slides</a> to display todo lists and I want to disable the swipe guestures since my list items have them. Instead I want to change the slides via methods.</p>
  
  <p>This is my component:</p>
  
  <pre><code>@ViewChild(Slides) slides: Slides;
  
  days: SbCalendarDay[] = [] //this is a list of todo's of each day
  
  ngAfterViewInit() {
      this.slides.lockSwipes(true);
  }
  
  slide(direction:string){
      if(direction === 'prev'){
          this.slides.slidePrev()
      }else{
          this.slides.slideNext()
      }
  }
  </code></pre>
  
  <p>And my view:</p>
  
  <pre><code>&lt;div class="sb-calendar-day"&gt;
      &lt;ion-slides [initialSlide]="1" (ionSlideDidChange)="slideChanged($event)" (ionSlideWillChange)="slideWillChange($event)"&gt;
          &lt;ion-slide *ngFor="let day of days"&gt;
              &lt;sb-list [list]="day.events" (sbListEvent)="listEvent($event)"&gt;&lt;/sb-list&gt;
          &lt;/ion-slide&gt;
      &lt;/ion-slides&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>However when I lock the swipes, the <code>initialSlide</code> input doesn't work anymore. I'm starting off with an <code>array</code> of 3 days with <code>array[1]</code> being the current day.</p>
  
  <p>Furthermore the methods <code>slideNext()</code> and <code>slidePrev()</code> also don't react.
  Does <code>lockSwipes(true)</code> completely "lock down" the slider?</p>
  
  <p>Is there a way to only disable the swiping gestures of the slider?</p>
  
  <p>Thanks</p>