magical-textarea

magically resizes a textarea to match user input

npm install magical-textarea
2 downloads in the last day
2 downloads in the last week
37 downloads in the last month

magical-textarea

Automagically resizes your textarea depending on the size of the input.

install

magical-textarea expects jQuery to be globally accessible. It also follows node's module pattern, meaning you'll probably need something like Browserify in order to use It

usage

magicalTextarea(textarea)

magical-textarea exports a single function, which you pass your textarea to. That's it, that's all.

var magicalTextarea = require('magical-textarea');
magicalTextarea("textarea#my-amazing-textarea");

license

MIT. See LICENSE file.

npm loves you