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
Thank you for your hard work, this library looks very professional and feature-rich.
However, I sometimes need to check if specified DOM element is partially visible in the viewport. Is there a way to perform a single synchronous query like this:
true === isPartiallyVisible(element, 0.2) // 0.2 means 20%?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello, @slavafomin.
I am sorry for getting back to you in half a year.
That's a good idea. Overall, I feel the API of this library should be improved, and expose some useful utils like you've mentioned as well. I will try to think about it when I have free time.
Hello!
Thank you for your hard work, this library looks very professional and feature-rich.
However, I sometimes need to check if specified DOM element is partially visible in the viewport. Is there a way to perform a single synchronous query like this:
true === isPartiallyVisible(element, 0.2) // 0.2 means 20%
?Thanks!
The text was updated successfully, but these errors were encountered: