[英]Fullpage.js & iScroll dynamic content height refresh
在fullpage.js中使用scrollOverflow:true选项时,是否可以在内容高度更改后在iscroll对象上手动调用refresh()?
Sure, just use the reBuild
method of fullpage.js. 当然,只需使用reBuild
方法。
reBuild 重建
Updates the DOM structure to fit the new window size or its contents. 更新DOM结构以适合新窗口大小或其内容。 Ideal to use in combination with AJAX calls or external changes in the DOM structure of the site. 理想与AJAX调用或站点DOM结构中的外部更改结合使用。
$.fn.fullpage.reBuild(); $ .fn.fullpage.reBuild();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.