Slides not working


#1

hi guys
i’m using a slides in home page but not showing content of slide

  <ion-slides pager='true' autoplay="5000" loop="true" speed="3000">
  <ion-slide>
      
    <h1>Slide 1</h1>
  </ion-slide>
  <ion-slide>
    <h1>Slide 2</h1>
  </ion-slide>
  <ion-slide>
    <h1>Slide 3</h1>
  </ion-slide>
</ion-slides>

but simple code working (not exactly)

 <ion-slides>
  <ion-slide>
      
    <h1>Slide 1</h1>
  </ion-slide>
  <ion-slide>
    <h1>Slide 2</h1>
  </ion-slide>
  <ion-slide>
    <h1>Slide 3</h1>
  </ion-slide>
</ion-slides>

ionic 2 TS


#2

Try to remove speed.


#3

not working agine , i published project on github https://github.com/mm580486/agorna_phone
i think about this problem has on rtl and ltr :rolling_eyes:


#4

its work
Currently i set dir=“rtl” in slides directive and now work