Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

NikkiDelRosso/jquery.dynamic-textarea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Dynamic Textarea

A dynamic-sized textarea plugin for jQuery. This plugin will resize textareas as a user types, based on the content in the textarea.

Usage

jQuery('textarea').dynamicTextarea();

// Options are also available:
jQuery('textarea').dynamicTextarea({
  'line-height': '20px', // Optional.  Will attempt to detect if not provided.
  'max-height': '500px' // Optional.  Will be set to 20 lines if not provided.
});

Notes

The textarea line height should be specified in pixels, or this may not work correctly.

About

A dynamic-sized textarea plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published