ksachdeva / angular-swiper

Angular directive for nolimits4web/Swiper
Apache License 2.0
197 stars 94 forks source link

Dots pagination or autoplay to next slides doesn't work when using data from ng-repeat #32

Open albpower opened 8 years ago

albpower commented 8 years ago

I'm trying to put the data from $http.get to a slider but in the first load the at pagination dots and the view only the first slide appears I cannot swipe to others, also the data are loaded into DOM but doesn't appear on web. After some time they show up but when I refresh the data still the same result.

<ks-swiper-container autoplay="3000" show-nav-buttons="false"  pagination-is-active="true" direction="vertical" swiper="swiper">
           <ks-swiper-slide ng-repeat="item in news">
               <a href="{{item.url}}">
                   <img src="{{item.attachments[0].url}}">
                 <h3 class="slide-Caption"> {{item.title}} </h3>
               </a>
          </ks-swiper-slide>
</ks-swiper-container>
belerweb commented 8 years ago

same too

Rex90 commented 8 years ago

same

WillisYe commented 7 years ago

add ng-if, My code follow: `

    </ks-swiper-container>`
eeturiakhil commented 6 years ago

nav buttons are not working properly and I'm unable to see pagination buttons