diff options
author | sebpiq <sebpiq@gmail.com> | 2011-12-13 13:47:40 +0200 |
---|---|---|
committer | sebpiq <sebpiq@gmail.com> | 2011-12-13 13:47:40 +0200 |
commit | 445ba76d802207a4173c03fede1e4e457ad884c5 (patch) | |
tree | 09ac7ae89e118e63bbce2408475f29be5111b39d | |
parent | cff924fc2053dd6fa40f10324906f97e0c09da65 (diff) | |
download | jquery-expandable-445ba76d802207a4173c03fede1e4e457ad884c5.zip jquery-expandable-445ba76d802207a4173c03fede1e4e457ad884c5.tar.gz jquery-expandable-445ba76d802207a4173c03fede1e4e457ad884c5.tar.bz2 |
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. |