# autofocus

```ts
import { AutoFocusModule } from '@anguless/angulux/autofocus';
```

## AutoFocus

`[aglAutoFocus]` — directive

Inherits every input, output and slot of `BaseComponent` — see [basecomponent.md](basecomponent.md).

AutoFocus manages focus on focusable element on load.

| Input | Type | Default | Description |
| --- | --- | --- | --- |
| `aglAutoFocus` | `boolean` | _not documented_ | When present, it specifies that the component should automatically get focus on load. _(property `autofocus`)_ |
