Skip to content

AngularJsCollection/angular-growing-input

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Growing Input AngularJS directive

This directive allows textarea to grow to limited height. jQuery FREE. Requires only AngularJS.

This directive was made with incarnation of @bgrins ExpandingTextareas jQuery plugin.

How to use.

Install using bower

bower install angular-growing-input

Include to your index.html

<script src="components/angular/angular.js"></script>
<script src="components/angular-growing-input/angular-grow.js"></script>

Add dependency to your application

 app.module("YourAPP", ["growingInput"]);

Apply directive to <textarea>

<textarea grow="100" ng-model="t"></textarea>

This tells that textarea will grow up to 100px height.

About

Directive that allows textarea to change its height while user enters values.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%