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

API to scroll to <Element> #63

Closed
petermikitsh opened this issue Mar 25, 2016 · 7 comments
Closed

API to scroll to <Element> #63

petermikitsh opened this issue Mar 25, 2016 · 7 comments

Comments

@petermikitsh
Copy link

Is there a way to programmatically scroll to a named Element?

@fisshy
Copy link
Owner

fisshy commented Mar 25, 2016

hm good question, I don't think so to be honest. This is a good feature to have :)

@fisshy
Copy link
Owner

fisshy commented Apr 15, 2016

There's a new feature scroll.scrollTo that can take you to a current position on the site. Step two would be to be able to pass an element to it and not only an absolute position.

@sunkaflek
Copy link

sunkaflek commented Apr 15, 2016

scroll.scrollTo doesn't seem to support 'delay' prop unfortunately

@fisshy
Copy link
Owner

fisshy commented Apr 15, 2016

check out the new version v1.0.11. Now you can pass all the available props as options as well. e9051d4

@sunkaflek
Copy link

Great, thank you!

@GabrielCTroia
Copy link
Contributor

@fisshy Shouldn't this issue be closed now that it's implemented?

@fisshy
Copy link
Owner

fisshy commented Apr 26, 2016

@GabrielCTroia you are correct, it does work with scroller. check out the readme enhanced by @GabrielCTroia

@fisshy fisshy closed this as completed Apr 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants