Open aprendizfc opened 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>
false
<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?
slickConfig
<slick settings="controller.slickConfig"></slick>
Thanks in advance
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
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