vasyabigi / angular-slick

Angular directive for slick-carousel
http://vasyabigi.github.io/angular-slick/
MIT License
500 stars 237 forks source link

$scope - updated but carousel appears as a list #150

Open psmod2 opened 8 years ago

psmod2 commented 8 years ago

Hi,

I have my slick carousel looking like:

<slick id="regionCaro" init-onload=true data="questionsMost" dots=true arrows=false
      autoplay=true speed=500 autoplay-speed=4000>

However - when the data questionsMost scope variable gets updated, the items in the carousel appear as a list on my page, not as an updated carousel.

So the error in the console i get is slider.unslick is not a function and on reading here I tried using slider.slick("unslick"); which gets rid of the message however it doesn't show the correct/update data.

Any ideas what I'm missing or is this a issue?

Thanks.

0xGeegZ commented 7 years ago

Hi,

I have the same error. Do you find any solution? :)

psmod2 commented 7 years ago

Hi,

I actually stopped using a carousel on my site - however from what I very briefly remember it was related to some dependency or the angular-slick library that I was using being the wrong version.

I just tried a few different combinations and one of them worked.