0.0.2 • Published 2 years ago
react-modern-lazy-load v0.0.2
React Modern Lazy Load
Modern lazy loading for React
Options
Name | Type | Optional | Default value | Description |
---|---|---|---|---|
root | Element \| Document \| null | true | null | Root element' MDN Docs |
rootMargin | string | true | 0% | Margin' MDN Docs |
threshold | number \| number[] | true | 0 | Threshold' MDN Docs |
keepTrackingVisibility | boolean | true | false | If set to true, it tracks changes in visibility at all times. |