Skip to content

Auto resizing textareas, can be used with or without bootstrap

License

Notifications You must be signed in to change notification settings

shaack/auto-resize-textarea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-resize-textarea

Auto resizes the height of any <textarea> to match the text input.

  • No dependencies
  • Works also with Bootstrap

References

Usage

<textarea class="auto-resize"></textarea>

<script src="src/auto-resize-textarea.js"></script>
<script>
    autoResizeTextarea(document.querySelectorAll("textarea.auto-resize"), {maxHeight: 320})
</script>

Installation

npm -i @shaack/auto-resize-textarea

Find more high quality modules from shaack.com on our projects page.

About

Auto resizing textareas, can be used with or without bootstrap

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published