alvarotrigo / alvarotrigo/fullPage.js

How do I use a callback to tell me that I've scrolled outside of fullpage?

未关闭
#4,502 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
JavaScript
星标
35.4k
派生
7.1k
PR 合并指标
30 天内没有已合并 PR

描述

### Description

I have tried "onleave", but it only seems to trigger if I am scrolling from one section to another. I need a callback to trigger if you leave the last slide and scroll past all the sections into the footer.

Here is a demo: https://codepen.io/kylerumble/pen/zYLxexB

You can see that the scrollbar is set to true. And I'd like to be able to know when the page is scrolled outside of the last slide.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。