Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added documentation for option "init" #2

Merged
merged 1 commit into from

2 participants

@sebpiq

No description provided.

@brandonaaron brandonaaron merged commit c4e6dff into brandonaaron:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 13, 2011
  1. @sebpiq
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  README.markdown
View
3  README.markdown
@@ -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.
Something went wrong with that request. Please try again.