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 摘要。