Skip to content

Commit

Permalink
Added documentation for option "init"
Browse files Browse the repository at this point in the history
  • Loading branch information
sebpiq committed Dec 13, 2011
1 parent cff924f commit 445ba76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ A jQuery plugin that auto-expands textareas to fit the contents as a user types.

## Settings

The expandable plugin has 4 settings:
The expandable plugin has 5 settings:

* `duration` - The speed of the animation when expanding (or shrinking). Default is 'normal'.
* `init` - If true, the textarea will be resized to fit its content on initialization.
* `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.
Expand Down

0 comments on commit 445ba76

Please sign in to comment.