1.0.2 • Published 1 year ago

ngx-auto-resize v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Auto resize directive for Angular textarea

Description

ngx-auto-resize is an Angular package that provides a directive for auto-resizing textarea element in Angular 17 or above projects.

Installation

You can install the ngx-autoresize package using npm:

npm install ngx-auto-resize

How to use

step 1: importing the directive

Just import the directive in TS file of the component like this.

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [AutoResize],
  templateUrl: './app.component.html',
  styleUrl: './app.component.css'
})

step 2: Using the directive

<textarea AutoResize></textarea>

And you are all set. ❤️‍🔥

Example

Click Here

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.1

1 year ago