vasyabigi / angular-slick

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

Can't disable draggable property #174

Open aprendizfc opened 7 years ago

aprendizfc commented 7 years ago

Hi guys, I'm trying to disable the draggable property but even when it is false I'm able to drag slides, and what I'm trying to achieve is prevent slides to be dragged. I've tried this way: <slick draggable=false></slick>

And this way:

using an object in a controller

vm.slickConfig = {
        autoplay: false,
        dots: false,
    draggable: false,
    swipe: false,
    slidesToShow: 1,
    slidesToScroll: 1
 }

and calling the slickConfig object in the slick directive like this: <slick settings="controller.slickConfig"></slick> but, with no luck. Any idea?

Thanks in advance