3.0.0 • Published 11 months ago

@w0s/textarea-auto-size v3.0.0

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

Automatically adjust the block size dimension of the <textarea> element to the input content

npm version test status

Demo

Examples

<script type="importmap">
  {
    "imports": {
      "@w0s/textarea-auto-size": "...",
      "@w0s/writing-mode": "..."
    }
  }
</script>
<script type="module">
  import TextareaAutoSize from '@w0s/textarea-auto-size';

  for (const targetElement of document.querySelectorAll('.js-textarea-auto-size')) {
    new TextareaAutoSize(targetElement);
  }
</script>

<textarea class="js-textarea-auto-size"></textarea>
3.0.0

11 months ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

2 years ago