Grow

Grow textareas as the user types.

Installation

$ npm install grow-component

API

grow(el, [options])

var el = document.querySelector('textarea');
var grow = require('grow');
grow(el, { max: 5 });

Options

License

MIT