本项目会包括一些有意思的页面或小组件
关灯小按钮🔘
UI组件设计-轮播图Slider
API设计-Slider
container、items
getSelectedItem()
getSelectedItemIdx()
slideTo()
slideNext()
slidePrevious()
plugin
pluginController()
pluginPrevious()
pluginNext()
告白小人 - 异步请求数据
axios.js 是一个基于 promise 的 HTTP 库,可以用在浏览器和 node.js 中 文档
小球游戏 - (直接操作DOM树,非canvas版)
节流的按钮🔘
呆萌的小鸟
tips: debounce()函数,设置事件触发空档期。