Skip to content
magically resizes a textarea to match user input
CoffeeScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
LICENSE
README.md
magical-textarea.coffee
magical-textarea.js
package.json

README.md

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.

Something went wrong with that request. Please try again.