forked from jerryluk/jquery.autogrow
-
Notifications
You must be signed in to change notification settings - Fork 0
ravionrails/jquery.autogrow
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Auto-grow TextArea
It provides Facebook-like auto-grow/auto-expand/auto-resizing text area.
Required jQuery 1.4+
Options
expandTolerance : Number of extra lines in the text area. Default is 1.
minHeight: Minimum height of the text area in pixel. If not specified, it will try to get it from the min-height CSS style. Default: 0
maxHeight: Maximum height of the text area in pixel. If not specified, it will try to get it from the max-height CSS style. Default: 99999
enterToSubmit: Submit the form with enter key. Default: false
Examples
$('form textarea').autogrow();
Special thanks to Craig Buckler who provided an excellent tutorial of how to write the plugin.About
jQuery auto-grow / auto-expand / auto-resize text area
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published