1.1.6 • Published 12 months ago

@shaack/auto-resize-textarea v1.1.6

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

auto-resize-textarea

Auto resizes the height of any <textarea> to match the text input.

  • No dependencies
  • Works with Bootstrap

Try it

Demo page

Repository

GitHub

Usage

<textarea class="auto-resize"></textarea>

<script src="src/auto-resize-textarea.js"></script>
<script>
    autoResizeTextarea(document.querySelectorAll("textarea.auto-resize"), {maxHeight: 320})
</script>

Installation

npm -i @shaack/auto-resize-textarea

1.1.6

12 months ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago