verge icon indicating copy to clipboard operation
verge copied to clipboard

get viewport dimensions...detect elements in the viewport...trust in <!DOCTYPE html>

Results 14 verge issues
Sort by recently updated
recently updated
newest added

Would you be able to compile an ES modules version and specify it in the module field of package.json? (Or specify it in the main field along with `"type": "module"...

Hi, thx for your work. It will be usefull to add a typescript support Somebody has allready code it ?

I am trying to debug some site with `verge` as a basis for animations, and I don't know it's my code or it's `verge`. no errors in IE at all,...

I think we could improve on the testing here. Does anyone have interest in helping redoing the tests in a better way? Such that we could run then via `npm...

help-wanted

Is there a way to check if an element is in the viewport but has to be above the bottom 100px from the bottom edge of the viewPort? sorta like...

I attached `verge.inViewport` to a scroll event to test this. When I start scrolling I keep getting `true` returned even if the element is not in the viewport. Only after...

In 1.x the signature for these is [`.inViewport(element, cushion=0)`](https://github.com/ryanve/verge/blob/1.9.1/README.md#inviewport) where cushion is an optional +/- cushion around the element. Is this clear enough or should we somehow redesign to be...

Maybe it's just a matter of definition, but an element starting exactly at the invisible first pixel under viewport is considered "inViewport". Why? http://plnkr.co/edit/rurMeic3TAIEXQ8OHJLz?p=preview Considering that position counting starts at...

How we can make v2 even better than v1? Feedback wanted on this and other ideas you have =) - .min file: Is there still value in providing a minified...

If a element is hidden via `display: none` `verge.inViewport` returns always true. Can you add a test if a element is visible or not?