ngx-auto-resize
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

/ngx-auto-resize/

    Package Sidebar

    Install

    npm i ngx-auto-resize

    Weekly Downloads

    0

    Version

    1.0.2

    License

    none

    Unpacked Size

    9.47 kB

    Total Files

    10

    Last publish

    Collaborators

    • harshkanjiya