vanilla-autogrow
v1.0.0
Published
Automatically grow and shrink textareas to fit their content as you type.
Downloads
14
Maintainers
Readme
vanilla-autogrow
How to use
A dead simple approach to autogrowing your textareas.
Works beautifully with Bootstrap 5 and even works with the floating labels.
No jQuery or framework needed.
import Autogrow from "./autogrow.js";
var inst = new Autogrow();
// or pass a selector
var inst = new Autogrow('textarea.autogrow');