Grow textareas as users type
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.npmignore
History.md
Makefile
Readme.md
component.json
index.js

Readme.md

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

  • max (number) maximum rows

License

MIT