我已经用overflowScroll:true实现了FullPage.js,因为我读到需要slimscroll.js。除了部分内的滚动有点跳跃太多的问题之外,一切正常,有没有办法减少滚动步骤?
注意:由于某种原因,它不允许我使用该步骤添加 slimscroll 中的函数。 有什么想法吗?
他们还说 FullPage.js 已经制作了带有 iScroll 的版本,但似乎我在任何地方都找不到它。
亲切的问候
最佳答案
正如我在您对 the article 的评论中回答的那样.
fullPage.js is not using slimScroll.js anymore but iScroll.js instead. You might be able to find something about that in their docs http://iscrolljs.com/. Then you can ass the options to fullPage.js through the option
scrollOverflowOptions
as detailed in the docs.
例如:
$('#fullPage').fullPage({
scrollOverflowOptions:{
demo: 'aaa'
}
});
关于javascript - FullPage.js 和 SlimScrolling.js 更改滚动步骤,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41596687/