Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bevacqua/flexarea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flexarea

Pretty flexible <textarea>s (works on any surface)

See the demo!

Install

Using Bower

bower install -S flexarea

Using npm

npm install -S flexarea

Usage

Just call flexarea on a DOM element. It doesn't need to be a textarea.

var textarea = document.querySelector('textarea');
flexarea(textarea);

You'll get a nice little resizer. Remember to include the CSS in your styles! Colors get copied from the element passed to flexarea.

flexarea.png

If you want to set a maximum height for your element, you should use the max-height CSS property. It'll work just fine!

License

MIT

About

Pretty flexible areas!

Resources

License

Stars

16 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors