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

Inline 'reset' does not work #51

Closed
mikerockett opened this issue May 2, 2014 · 2 comments
Closed

Inline 'reset' does not work #51

mikerockett opened this issue May 2, 2014 · 2 comments
Labels

Comments

@mikerockett
Copy link

Per your readme:

<!-- Note: The reset keyword works by itself. -->
<div data-scroll-reveal="reset"> Foo </div>

I have:

<div ... data-scroll-reveal="reset enter top">...</div>

But the object does not reset...

@jlmakes
Copy link
Owner

jlmakes commented May 2, 2014

I think this is an oversight @Mike-Anthony

scrollReveal is not currently parsing for the reset keyword. The only way currently is to pass it along with the config object. In other words, the readme lied — oops!

Thanks for raising this issue (and #50), this will certainly be fixed in the next release.

@mikerockett
Copy link
Author

I thought it may have been an oversight... It's not a necessity for me though, just picked it up when I was debugging #50.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants