Skip to content

Commit

Permalink
Merge pull request brandonaaron#2 from sebpiq/patch-1
Browse files Browse the repository at this point in the history
Added documentation for option "init"
brandonaaron committed Dec 13, 2011
2 parents cff924f + 445ba76 commit c4e6dff
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
@@ -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.

0 comments on commit c4e6dff

Please sign in to comment.