diff options
author | Brandon Aaron <brandon.aaron@gmail.com> | 2011-12-13 05:39:10 -0800 |
---|---|---|
committer | Brandon Aaron <brandon.aaron@gmail.com> | 2011-12-13 05:39:10 -0800 |
commit | c4e6dff4395b57defa249b6798d055bf617fd988 (patch) | |
tree | 09ac7ae89e118e63bbce2408475f29be5111b39d | |
parent | cff924fc2053dd6fa40f10324906f97e0c09da65 (diff) | |
parent | 445ba76d802207a4173c03fede1e4e457ad884c5 (diff) | |
download | jquery-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.markdown | 3 |
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. |