Module "frontend-packages/headless-content-unblocker/src/utils/isElementInViewport"
Functions
isElementInViewport
- isElementInViewport(el: HTMLElement, partial?: boolean): boolean
-
Parameters
-
el: HTMLElement
-
Default value partial: boolean = false
Returns boolean
https://stackoverflow.com/a/7557433/5506547