UNPKG

igniteui-angular

Version:

Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps

17 lines (16 loc) 724 B
import { ElementRef, NgZone } from "@angular/core"; import { EventManager } from "@angular/platform-browser"; import * as i0 from "@angular/core"; export declare class KeyboardNavigationService { private eventManager; private ngZone; private keyHandlers; private eventUnsubscribeFn; constructor(eventManager: EventManager, ngZone: NgZone); attachKeyboardHandlers(elementRef: ElementRef, context: any): this; detachKeyboardHandlers(): void; set(key: string, handler: (event: KeyboardEvent) => void): this; unset(key: string): this; static ɵfac: i0.ɵɵFactoryDeclaration<KeyboardNavigationService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<KeyboardNavigationService>; }