Ion-slides - onlyExternal

Hello,

in rc.5 options were deprecated in Slides component. Is there any alternative, how to disable sliding by user input and do it just programmatically?

Before rc.5 I was using [options]="{onlyExternal: true}"

There is new method lockSwipes(true), but in this case animation is disabled.

ViewChild and set onlyExternal in TypeScript.

@ViewChild('slider') slider: Slides;

ionViewDidLoad() {
  this.slider.onlyExternal = true;
}

nextSlide() {
  this.slider.slideNext();
}