npm install vue-intersection-observer
or
yarn install vue-intersection-observer
| Property | Reqiured | Type | Default | Description |
|---|---|---|---|---|
| observed | No | {Boolean} |
true | Enabled/Disabled observation |
| root | No | `{HTMLElement | String | Null}` |
| rootMargin | No | {String} |
'0px 0px 0px 0px' | Margin around the root. Can have values similar to the CSS margin property, e.g. "10px 20px 30px 40px" (top, right, bottom, left). |
| threshold | No | `{Number | Array}` | 0 |