AutofocusDelayedDirective
directive
Directive putting delayed focus on an element. If no delay is set, the focus will be set immediately.
You have to ensure that the element is focusable when adding this directive to it.
Directive Metadata
Section titled “Directive Metadata”Selector: [yuvAutofocusDelayed]
Standalone: Yes
Implements: AfterViewInit
Inputs
Section titled “Inputs”yuvAutofocusDelayed
Section titled “yuvAutofocusDelayed”Type: number | string
Default Value: 0
Sets the delay in milliseconds. If no delay is set, the focus will be set immediately.