Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shaack/auto-resize-textarea
Auto resizing textareas, can be used with or without bootstrap
https://github.com/shaack/auto-resize-textarea
bootstrap javascript js textarea widget
Last synced: 2 months ago
JSON representation
Auto resizing textareas, can be used with or without bootstrap
- Host: GitHub
- URL: https://github.com/shaack/auto-resize-textarea
- Owner: shaack
- License: mit
- Created: 2020-02-25T09:55:55.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-29T13:06:22.000Z (over 1 year ago)
- Last Synced: 2024-11-03T08:51:42.067Z (3 months ago)
- Topics: bootstrap, javascript, js, textarea, widget
- Language: JavaScript
- Homepage:
- Size: 30.3 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# auto-resize-textarea
Auto resizes the height of any <textarea> to match the text input.
- No dependencies
- Works with Bootstrap## Try it
[Demo page](https://shaack.com/projekte/auto-resize-textarea/)
# Repository
[GitHub](https://github.com/shaack/auto-resize-textarea)
## Usage
```html
autoResizeTextarea(document.querySelectorAll("textarea.auto-resize"), {maxHeight: 320})
```
## Installation
npm -i @shaack/auto-resize-textarea