Slick Slider Attribute Activation

[Solved] Slick Slider Attribute Activation | Go - Code Explorer | yomemimo.com
Question : slick slider attribute activation

Answered by : md-redwan-hussain

************** Data Attribute Settings **************
In slick 1.5 you can now add settings using the data-slick attribute.
You still need to call $(element).slick() to initialize slick on the element.
<div data-slick='{"slidesToShow": 4, "slidesToScroll": 4}'> <div><h3>1</h3></div> <div><h3>2</h3></div> <div><h3>3</h3></div> <div><h3>4</h3></div> <div><h3>5</h3></div> <div><h3>6</h3></div>
</div>

Source : https://kenwheeler.github.io/slick/ | Last Update : Tue, 09 Aug 22

Answers related to slick slider attribute activation

Code Explorer Popular Question For Go