In rc.0, how to use lockSwipe of Swiper object to prevent slide in first or last slide?

define slides options BEFORE your constructor by specifing onlyExternal to true like this
sliderOptions = {
onlyExternal: true
};

the use this option object as options of your ion-slides
<ion-slides #mySlides [options]=“this.sliderOptions”>

for more info check these links