# AutoResizeDirective

**Type:** directive



A directive that automatically adjusts the height of a textarea based on its content.

The AutoResizeDirective automatically adjusts the height of a textarea element as the user types,
ensuring that all content is visible without requiring manual resizing or scrolling.
It supports minimum and maximum row constraints and can be enabled/disabled dynamically.

```html
```html
<textarea autoResize [minRows]="2" [maxRows]="5"></textarea>
```
```

**Selector:** `textarea[autoResize]`

## Inputs
- **autoResize**: `boolean` - 
- **maxRows**: `number` - 
- **minRows**: `number | string` - 
