[ACS-3701] Add auto focus directive (#7921)

* [ACS-3701] Add auto focus directive

* [ACS-3701] Linter fix

* [ACS-3701] Another lint fixes
This commit is contained in:
MichalKinas
2022-11-02 15:28:04 +01:00
committed by GitHub
parent 711eaa34a4
commit e45c6891e4
7 changed files with 113 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
---
Title: Auto Focus directive
Added: v5.1.0
Status: Active
Last reviewed: 2022-10-25
---
# [Auto Focus directive](../../../lib/content-services/src/lib/directives/auto-focus.directive.ts "Defined in auto-focus.directive.ts")
Automatically focuses HTML element after content is initialized.
## Basic Usage
```html
<button adf-auto-focus>...</button>
```
## Class members
### Properties