UNPKG

ng-hotkeys

Version:

ng-hotkeys for Angular 14+

14 lines (13 loc) 617 B
import { NgHotkeysService } from './ng-hotkeys.service'; import * as i0 from "@angular/core"; export declare class NgHotkeysSelectService { private keyboardService; constructor(keyboardService: NgHotkeysService); /** * Returns an observable of keyboard shortcut filtered by a specific key. * @param key - the key to filter the observable by. */ select(key: string): import("rxjs").Observable<import("ng-hotkeys").ShortcutEventOutput>; static ɵfac: i0.ɵɵFactoryDeclaration<NgHotkeysSelectService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NgHotkeysSelectService>; }