Methods
(static) isInViewport(el) → {boolean}
Detects, whether a given element is currently within the visible area of the browser screen.
Parameters:
Name | Type | Description |
---|---|---|
el |
HTMLElement |
- Source:
- See:
Returns:
- Type
- boolean