@asl-19/use-overflow-state

Hook that returns the overflow state of the provided scrollable element

Usage no npm install needed!

<script type="module">
  import asl19UseOverflowState from 'https://cdn.skypack.dev/@asl-19/use-overflow-state';
</script>

README

@asl-19/use-overflow-state

API

See docs/use-overflow-state.md for API documentation.

How to install

yarn add @asl-19/use-overflow-state

Compatibility

This package is developed and used with Node.js 14 (the active LTS release as of 2020-11). The code should be forward-compatible, but use with newer Node.js versions is untested and unsupported.