autoplay is currently duplicated with HTML5 autoplay attribute. So this can cause unexpected behaviors as following:
I am using the html-minifier. And "Collapse boolean attributes" option has a problem. If I enable this option, boolean value is removed after minifying!
Like this: <slick autoplay="true"></slick> => <slick autoplay></slick>
So, I want you change name of autoplay option. or If you can find other solution, that's OK, too.
Try to use data-* attribute:
<slick arrows="{{vm.slider.arrows}}" infinite="{{vm.slider.infinite}}" speed="{{vm.slider.speed}}" data-autoplay="{{vm.slider.autoplay}}">
It's works for me.
autoplay
is currently duplicated with HTML5 autoplay attribute. So this can cause unexpected behaviors as following:I am using the html-minifier. And "Collapse boolean attributes" option has a problem. If I enable this option, boolean value is removed after minifying! Like this:
<slick autoplay="true"></slick>
=><slick autoplay></slick>
So, I want you change name of
autoplay
option. or If you can find other solution, that's OK, too.