插件:别人写好的一些代码,我们只需要复制对应的代码,就可以直接实现对应的效果
学习插件的基本过程:
1.熟悉官网,了解这个插件可以完成什么需求:https://www.swiper.com.cn/
2.看在线延时,找到符合自己需求的demo https://www/swiper.com.cn/demo/index.html
3.查看基本使用流程:https://www.swiper.com.cn/usage/index.html
4.查看API文档,去配置自己的插件 https://www.swiper.com.cn/api/index.html
5.注意:多个swiper同时使用的时候,类名需要注意区分
JavaScript插件
最新推荐文章于 2024-07-12 09:54:00 发布