Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/ui-kit / Class

NgDocFocusCatcherDirective

Decorators:@Directive @UntilDestroy
Selectors:[ngDocFocusCatcher]

No documentation has been provided.

Constructor

No documentation has been provided.

Presentation
constructor(
	private elementRef: ElementRef<HTMLElement>, 
	private ngZone: NgZone, 
	private changeDetectorRef: ChangeDetectorRef
): NgDocFocusCatcherDirective;
Parameters
NameTypeDescription
elementRef
ElementRef<HTMLElement>
ngZone
NgZone
changeDetectorRef
ChangeDetectorRef

Properties

NameTypeDescription
blurEvent
EventEmitter<Event>
focused
boolean
focusEvent
EventEmitter<Event>

Static Methods

static

observeFocus()

No documentation has been provided.

Presentation
static observeFocus(element: HTMLElement): Observable<FocusEvent>;
Parameters
NameTypeDescription
element
HTMLElement
Returns
Observable<FocusEvent>