You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.
I am using your great spy component with ScrollTo which scrolls to a certain portion of the page when a url with a #hash is clicked.
It works awesome! except for one little issue.
I want to be able to fire events about 500 seconds after scrolling has stopped. I dont know if settimout is appropriate for this since it is running on .each .
The reason for this is I want to change the classes on nav links based on where the scrolling is once it has completed. Otherwise the nav links go nuts during a scroll from page start to page end. Everything in between gets the onEnter onleave event and the navs light up one after the other. Also want to use this on my onepage site to TrackPageview on google analytics, and dont want extra pageviews popping in as they are scrolled trhoug.
Can you advise me on the proper way to wait until scrolling has completed to fire an event?
The text was updated successfully, but these errors were encountered:
Wow, it's been almost 2 years since you asked about this and still no response. I've seen that UIkit (http://getuikit.com/docs/scrollspy.html) has this delay option, but haven't tried it yet. I also wouldn't want the whole UIkit just for the scrollspy delay. So... I'm also stuck on this...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using your great spy component with ScrollTo which scrolls to a certain portion of the page when a url with a #hash is clicked.
It works awesome! except for one little issue.
I want to be able to fire events about 500 seconds after scrolling has stopped. I dont know if settimout is appropriate for this since it is running on .each .
The reason for this is I want to change the classes on nav links based on where the scrolling is once it has completed. Otherwise the nav links go nuts during a scroll from page start to page end. Everything in between gets the onEnter onleave event and the navs light up one after the other. Also want to use this on my onepage site to TrackPageview on google analytics, and dont want extra pageviews popping in as they are scrolled trhoug.
Can you advise me on the proper way to wait until scrolling has completed to fire an event?
The text was updated successfully, but these errors were encountered: