Added documentation for option "init" #2

Merged
merged 1 commit into from Dec 13, 2011
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Split
View
@@ -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.