Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Slides generated with ng-repeat causing issues (slide-box)

$
0
0

ng-if do the trick! Thanks!

My example:

  <ion-slide-box
    does-continue = "true"
    auto-play         = "true"
    ng-if                 = "sliders">

    <ion-slide
      ng-repeat   = "slide in sliders"
      style           = "overflow:hidden;position:relative;height:300px">

      <img
        style       = "position:absolute;margin:auto;left:-50%;right:-50%;top:0;bottom:0"
        ng-src    = "{{'http://www.dummy.ccc/images/' + slide.medio}}">

    </ion-slide>
  </ion-slide-box>

Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>