Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evseevdev/ngx-textarea-autosize
Automatic height control of textarea to fit the content for Angular.
https://github.com/evseevdev/ngx-textarea-autosize
angular autosize textarea
Last synced: 11 days ago
JSON representation
Automatic height control of textarea to fit the content for Angular.
- Host: GitHub
- URL: https://github.com/evseevdev/ngx-textarea-autosize
- Owner: evseevdev
- Created: 2017-07-18T11:49:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T05:24:57.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T08:06:56.124Z (7 months ago)
- Topics: angular, autosize, textarea
- Language: TypeScript
- Homepage:
- Size: 1.77 MB
- Stars: 30
- Watchers: 3
- Forks: 23
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ngx-textarea-autosize
Angular 2+ plugin to automatic height control of textarea to fit the content.## Installation:
NPM:
```bash
npm install --save ngx-textarea-autosize
```
Yarn:
```bash
yarn add ngx-textarea-autosize
```## Usage:
Import module to your @NgModule:```typescript
import { TextareaAutosizeModule } from 'ngx-textarea-autosize';@NgModule({
imports: [
TextareaAutosizeModule
]
})
```Add directive to your textarea
```
Some text
```