You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Angular directive for auto-grow / auto-resize of textarea elements.
2
+
Angular directive for auto-grow / auto-resize of textarea elements on typing.
3
+
4
+
* Works in all cases: expands on line breaks and word breaks.
5
+
* Great Performance: minimal DOM manipulation and no watchers.
6
+
* Allows limitation of auto-growing so a scrollbar will appear after X lines of content.
7
+
8
+
A full explanation of the code can be found on my [blog post](http://codingaspect.com/blog/textarea-auto-grow-resizing-textarea-to-fit-text-height) along with a jQuery plugin and an Angular directive with this technique.
9
+
10
+
#### Bower Installation
11
+
```bash
12
+
bower install angular-autogrow
13
+
```
14
+
15
+
######
16
+
17
+
## Usage:
18
+
19
+
Include `angular-autogrow.min.js` file in `<head>` section of the HTML:
0 commit comments