0.3.4 • Published 4 months ago

react-hook-resizable-element v0.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

react-hook-resizable-element

A React useEffect hook to allow resizing of elements based of some dependency.

Works with any HTMLElement that has the following attributes:

  • ele.scrollHeight (read)
  • ele.style.height (read/write)

    I wrote it specifically for teaxtarea, and checked it on textarea and p elements.

Links

github

npm

Credits

template for typescript NPM

article in medium by Owen Herterich

0.3.4

4 months ago

0.3.3

4 months ago

0.3.2

4 months ago

0.3.0

4 months ago

0.1.0

4 months ago

0.0.1

4 months ago