GitXplorerGitXplorer
S

angular-growing-input

public
3 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
022d516385ae75ed846addb7b2b78d77aa31f84c

Merge pull request #2 from jdforsythe/isolate-scope

SSerhioromano committed 9 years ago
Unverified
b1a4dd2c9067a78b144babb89f5cf66025f33059

Add minified script

committed 9 years ago
Unverified
b66963ccd6edf5d607adc994c3fce33f06794dcc

Add isolate scope to allow multiple directives

jjdforsythe committed 9 years ago
Unverified
9f9e88ade64975412a141c01d184c9f2f0c8a5cb

New version

SSerhioromano committed 10 years ago
Unverified
132c7054bbad7b2757e1f73ae0b183a427226fbb

Fix style adoption on dom readt

SSerhioromano committed 10 years ago
Unverified
858fe1d2ae97504a1b9ce14dadaa13faeff21281

Minified version was not working

SSerhioromano committed 10 years ago

README

The README file for this repository.

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="https://raw.githubusercontent.com/Serhioromano/angular-growing-input/master/components/angular/angular.js"></script>
<script src="https://raw.githubusercontent.com/Serhioromano/angular-growing-input/master/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.