ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
51.07k stars 13.51k forks source link

Ionic 2 - ion-slides [options] are not considered #10199

Closed monalisasaha79 closed 7 years ago

monalisasaha79 commented 7 years ago

Hi,

I am using ionic 2 version - 2.2.1

In the view, I used ionic slides like, <ion-slides [options]="slideOptions" > In the controller, constructor(public params: NavParams) { this.images = this.params.get('images'); this.index = this.params.get('index'); this.slideOptions = { pager: false, initialSlide: this.index, loop: true, zoom: true }; }

None of the options are considered. Then I changed the view like, <ion-slides [initialSlide]="index" [pager]="false" [loop]="true" [effect]="coverflow">

except zoom and effect, other options are taken in effect.

Please let me know if I am missing anything or it is a defect.

Thanks,

jgw96 commented 7 years ago

Hello, thanks for using Ionic! You can read this part of the RC5 changelog to see why options is not supported anymore and to see the new way to handle them.

ionitron-bot[bot] commented 6 years ago

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.