Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 302 Bytes

Readme.md

File metadata and controls

28 lines (17 loc) · 302 Bytes

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