jQuery Expandable Plugin Documentation

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.