diff options
author | Brandon Aaron <brandon.aaron@gmail.com> | 2013-04-03 13:14:58 -0500 |
---|---|---|
committer | Brandon Aaron <brandon.aaron@gmail.com> | 2013-04-03 13:14:58 -0500 |
commit | 2c1d38b9021c6a93262cc320260088e529ea0260 (patch) | |
tree | ef240fecd54b254a34169e4c4801afca94ee4bfd /README.markdown | |
parent | 44390d5f7af419c334797930010117164f6d9ed4 (diff) | |
download | jquery-expandable-master.zip jquery-expandable-master.tar.gz jquery-expandable-master.tar.bz2 |
Add update event that can be triggered to force a recheck of the textarea. Prevent re-running the plugin multiple times for one textarea. Bump version 1.1.4.HEAD1.1.4origin/masterorigin/HEADmaster
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown index b5096f1..8874fbe 100644 --- a/README.markdown +++ b/README.markdown @@ -15,6 +15,15 @@ The expandable plugin has 5 settings: * `maxRows` - The maximum number of rows the textarea can be expanded to. Default is false which will allow the textarea to keep expanding. +## Dynamic Updating + +If you need, you can trigger an update to the textarea by doing the following: + + $('textarea').trigger('update'); + +This is useful if you are injecting content into the textarea via JavaScript. + + ## License The expandable plugin is licensed under the MIT License (LICENSE.txt). |