[英]Fullpage.js: with which function I can restart the ScrollOverflow plugin?
I'm using the fullpage.js add-on "ScrollOverflow" in my project. 我在我的项目中使用了fullpage.js附加组件“ ScrollOverflow”。 I use dynamic content on the page, so I need to restart the plugin each time the content changes. 我在页面上使用动态内容,因此每次内容更改时都需要重新启动插件。
How can i do this? 我怎样才能做到这一点?
You can use $.fn.fullpage.reBuild()
just after you modify the content of the section / slide. 修改节/幻灯片的内容后,可以使用$.fn.fullpage.reBuild()
。
Read more about it on the docs . 在docs上阅读有关它的更多信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.