1.0.2 • Published 3 years ago
simplefullpages v1.0.2
A repository for reuseable react component 一个专门放可复用组件的仓库
< SimpleFullPage >< SimpleFullPage />
just put your component in it ,as simple as that. 放到这个组件里就可以用
example
option
size default:3(pages) -- change number of your pages(you can set different pages than the component,if you want) -- 改变页面数量(页面数量可以跟组件数量不一致,如果你想的话)
speed default:1000(ms) -- change the speed of page turning -- 改变翻页速度
mousewheel default:1000(ms) -- change the cd of mousewheel -- 改变滚轮冷却
drag default:500(ms) -- change the cd of drag -- 改变拖拽冷却
draggingDistance default:30(px) -- change the distance of drag -- 改变拖拽触发距离
nav default:true -- show or hide the navDots -- 显示或隐藏圆点导航