mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
20
docs/content-services/directives/auto-focus.directive.md
Normal file
20
docs/content-services/directives/auto-focus.directive.md
Normal 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
|
Reference in New Issue
Block a user