ionic-team / ionic-starter-super

The Ionic 2 Super Starter 🎮

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't bind to 'options' since it isn't a known property of 'ion-slides'.

aberonni opened this issue · comments

I just created a new ionic project using this starter. I started off with the fixes provided in #84 otherwise I couldn't even compile. Now I am receiving this error.

It seems that it is due to src/pages/tutorial/tutorial.html:

  ...
  <ion-slides [options]="{pager: true}" (ionWillChange)="onSlideChangeStart($event)">
  ...

I think [options] is not a property of ion-slides, instead it should be:

  ...
  <ion-slides pager (ionWillChange)="onSlideChangeStart($event)">
  ...

This worked for me and it seems to be documented this way in ionic docs.

If necessary I can make a quick PR for this.

What was the fix?