Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/component/grow

Grow textareas as users type
https://github.com/component/grow

Last synced: 13 days ago
JSON representation

Grow textareas as users type

Awesome Lists containing this project

README

        

# Grow

Grow textareas as the user types.

## Installation

```
$ npm install grow-component
```

## API

### grow(el, [options])

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

## Options

- `max` (number) maximum rows

## License

MIT