UNPKG

@v0xoss/use-intersection-observer

Version:

Tracks the intersection of a DOM element and its containing element or the viewport.

25 lines (16 loc) 530 B
# @v0xoss/use-intersection-observer A Quick description of the component > This is an internal utility, not intended for public usage. ## Installation ```sh yarn add @v0xoss/use-intersection-observer # or npm i @v0xoss/use-intersection-observer ``` ## Contribution Yes please! See the [contributing guidelines](https://github.com/heroui-inc/heroui/blob/master/CONTRIBUTING.md) for details. ## License This project is licensed under the terms of the [MIT license](https://github.com/heroui-inc/heroui/blob/master/LICENSE).