fullpage js how to dynamically update scrolloverflow bar

时间:2017-07-17 15:31:04

标签: angular fullpage.js

Hi i'm currently using a fullpageJS port in my angular 2 project and on one of the pages i have set to true,

 @Input() public options: MnFullpageOptions = new MnFullpageOptions({
scrollOverflow: true,

However, the content on my page can change, but currently the scrollbar does not update to fit all of the content (as I load more data at the bottom when a user clicks load). It will only update the scrollbar when the page is resized. How can I trigger a re-render of the scrollbaroverflow bar so that it will update to the content of my page?

1 个答案:

答案 0 :(得分:0)

使用fullPagejs的reBuild功能。查看文档以获取更多信息。