Closed ONEGEE closed 6 years ago
I try to listen different events,i guess enterViewport use unit of vh,but fullyEnterViewport use unit of px?if i was wrong usage,please let me know
enterViewport
vh
fullyEnterViewport
px
Everything uses pixels. You can use window.innerHeight as a workaround. https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight
window.innerHeight
I try to listen different events,i guess
enterViewport
use unit ofvh
,butfullyEnterViewport
use unit ofpx
?if i was wrong usage,please let me know