textarea-resize
v1.1.1
Published
Angular directive to resize the textarea to provided number of lines as user types on the textarea.
Downloads
29
Maintainers
Readme
CurrencySymbol
This library was generated with Angular CLI version 10.2.5.
Angular directive to resize the textarea to provided number of lines as user types on the textarea.
Example
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { TextareaResizeModule } from 'projects/textarea-resize/src/public-api';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AppRoutingModule,
TextareaResizeModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
<textarea class="my-text-area" resizableTArea [maxLines]="4" unit="px"></textarea>