Skip to content

josephj/node-autogrow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AutoGrow Utility

An utility that makes textarea expands in height to fit its contents.
It is an YUI implementation of an idea, Expanding Text Areas Made Elegant by Neil Jenkins.

Usage:

<link rel="stylesheet" href="assets/node-autogrow.css">
<script type="text/javascript" src="http://yui.yahooapis.com/3.7.3/build/yui/yui-min.js"></script>
<script type="text/javascript" src="node-autogrow.js"></script>
<script>
YUI().use("node-autogrow", function (Y) {
    Y.one("textarea").plug(Y.AutoGrow);
});
</script>

<textarea>User input string...</textarea>

See Example

About

JavaScript textarea auto grow utility.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published