forked from angular/material
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
149 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<div layout="column" ng-cloak class="md-inline-form" ng-init="textBind = 'Input is binded to a Model'"> | ||
|
||
<md-content layout-padding> | ||
|
||
<div class="demoTextarea"> | ||
<md-input-container class="md-block"> | ||
<label>Fixed Rows</label> | ||
<textarea rows="5" ng-model="textBind">This is an example Content</textarea> | ||
</md-input-container> | ||
</div> | ||
|
||
<div class="demoTextarea"> | ||
<md-input-container class="md-block"> | ||
<label>Minimum Rows</label> | ||
<textarea min-rows="5" ng-model="textBind"></textarea> | ||
</md-input-container> | ||
</div> | ||
|
||
<div class="demoTextarea"> | ||
<md-input-container class="md-block"> | ||
<label>Dynamic Rows</label> | ||
<textarea>This is an example Content</textarea> | ||
</md-input-container> | ||
</div> | ||
|
||
</md-content> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
angular | ||
.module('inputTextareaDemo', ['ngMaterial', 'ngMessages']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.demoTextarea { | ||
margin: 14px; | ||
background-color: #f7f7f7; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters