UNPKG

@ng-doc/ui-kit

Version:

<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>

19 lines (16 loc) 755 B
import * as i0 from '@angular/core'; import { EventEmitter } from '@angular/core'; import { Observable } from 'rxjs'; declare class NgDocFocusCatcherDirective { private elementRef; private ngZone; private changeDetectorRef; focusEvent: EventEmitter<Event>; blurEvent: EventEmitter<Event>; focused: boolean; constructor(); static observeFocus(element: HTMLElement): Observable<FocusEvent>; static ɵfac: i0.ɵɵFactoryDeclaration<NgDocFocusCatcherDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocFocusCatcherDirective, "[ngDocFocusCatcher]", ["ngDocFocusCatcher"], {}, { "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; }, never, never, true, never>; } export { NgDocFocusCatcherDirective };