You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ionic2 ion-slides option not working as expected #6007
Hi !
I got this same issue: "paginationType" doesn't work.
I declared an object sliderOptions = {pager: true, loop: true, paginationType: 'fraction'} and declared in my html: <ion-slides [options]="sliderOptions" #newsSlider>. Any other attribute like pager or loop works fine but my pagination is still the same - bullets.
May you drive me somewhere I could find a solution please?
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.
Activity
brandyscarney commentedon Apr 1, 2016
Thanks for the issue! We're planning on improving the slides as part of the next beta, so this will be worked on soon. 😄
See #5508, #5491, #5039, #5571, and #5820
adamdbradley commentedon Apr 17, 2016
Swiper needs to be updated to the latest version, which we will do when we move it to an external module: #6198
brandyscarney commentedon Apr 18, 2016
Moving to beta.6 to fix with #6198
11 remaining items
brandyscarney commentedon Jan 24, 2017
Thanks for the issue. Slides have been refactored and these should both be working. Please see the docs for usage: http://ionicframework.com/docs/v2/api/components/slides/Slides/#input-properties
OlivierCadoz commentedon Mar 9, 2017
Hi !
I got this same issue: "paginationType" doesn't work.
I declared an object sliderOptions = {pager: true, loop: true, paginationType: 'fraction'} and declared in my html: <ion-slides [options]="sliderOptions" #newsSlider>. Any other attribute like pager or loop works fine but my pagination is still the same - bullets.
May you drive me somewhere I could find a solution please?
okonon commentedon Mar 11, 2017
@brandyscarney it appears that the code below still is not honoring
paginationType's values:Ionic info:
brandyscarney commentedon Mar 13, 2017
@okonon When you wrap
paginationTypein brackets[]you are telling it to evaluateprogressas an expression. So this:is looking for a variable called
progressto grab the value from. It needs to be written the following way:It works for
[pager]="true"sincetrueis a valid expression, but you could also write it likepager="true".More information on property binding can be found here: https://angular.io/docs/ts/latest/guide/template-syntax.html#!#property-binding
Thanks! :)
ionitron-bot commentedon Sep 3, 2018
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.