-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
inViewport, inX, inY expressiveness #28
Comments
Right and bottom cushion doesn't work for negative values. https://github.com/ryanve/verge/blob/master/verge.js#L86-L87 |
Sorry, that solution won't work, this needs some other fix. |
In 1.x the signature for these is
.inViewport(element, cushion=0)
where cushion is an optional +/- cushion around the element. Is this clear enough or should we somehow redesign to be more expressive?The text was updated successfully, but these errors were encountered: