企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] > [slick](https://github.com/kenwheeler/slick) > [demo](http://kenwheeler.github.io/slick/) ## 鼠标滑动 ## 示例 ### data-slick 模式 ``` <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> ``` ### js ``` $('.multiple-items').slick({ infinite: true, slidesToShow: 3, slidesToScroll: 3 }); ```