Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger event when target reaches custom top value #2

Open
murtinha opened this issue Jan 10, 2018 · 0 comments
Open

Trigger event when target reaches custom top value #2

murtinha opened this issue Jan 10, 2018 · 0 comments

Comments

@murtinha
Copy link

murtinha commented Jan 10, 2018

It isn't possible to trigger the event unless the target reaches the top of the document. It'd be nice to be able to pass a topThreshold or something to allow triggering the event before it reaches document.top

@rafaelverger rafaelverger changed the title Trigger event before target reaches top of the document Trigger event when target reaches custom top value Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants