A jQuery plugin that auto-expands textareas to fit the contents as a user types.
JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 15 commits behind brandonaaron:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.txt
README.markdown
example.html
jquery.expandable.js

README.markdown

expandable

A jQuery plugin that auto-expands textareas to fit the contents as a user types.

Settings

The expandable plugin has 4 settings:

  • duration - The speed of the animation when expanding (or shrinking). Default is 'normal'.
  • interval - The interval at which it checks the textarea. Default is 750.
  • within - The number of rows left before expanding. Default is 1.
  • by - The number of rows to expand by. Default is 2.

License

The expandable plugin is licensed under the MIT License (LICENSE.txt).

Copyright (c) 2010 Brandon Aaron

Contributors

Karl Swedberg