summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2011-12-13 05:39:10 -0800
committerBrandon Aaron <brandon.aaron@gmail.com>2011-12-13 05:39:10 -0800
commitc4e6dff4395b57defa249b6798d055bf617fd988 (patch)
tree09ac7ae89e118e63bbce2408475f29be5111b39d
parentcff924fc2053dd6fa40f10324906f97e0c09da65 (diff)
parent445ba76d802207a4173c03fede1e4e457ad884c5 (diff)
downloadjquery-expandable-c4e6dff4395b57defa249b6798d055bf617fd988.zip
jquery-expandable-c4e6dff4395b57defa249b6798d055bf617fd988.tar.gz
jquery-expandable-c4e6dff4395b57defa249b6798d055bf617fd988.tar.bz2
Merge pull request #2 from sebpiq/patch-1
Added documentation for option "init"
-rw-r--r--README.markdown3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index ca646ee..33d14c0 100644
--- a/README.markdown
+++ b/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.