UNPKG

angular2-hotkeys

Version:

Angular 16 and Ivy Compatible. Older versions might work but isn't officially tested.

19 lines (18 loc) 862 B
import { OnDestroy, OnInit } from '@angular/core'; import { Hotkey } from '../hotkey.model'; import { HotkeysService } from '../hotkeys.service'; import { BehaviorSubject, Subscription } from 'rxjs'; import * as i0 from "@angular/core"; export declare class HotkeysCheatsheetComponent implements OnInit, OnDestroy { private hotkeysService; helpVisible$: BehaviorSubject<boolean>; title: string; subscription: Subscription; hotkeys: Hotkey[]; constructor(hotkeysService: HotkeysService); ngOnInit(): void; ngOnDestroy(): void; toggleCheatSheet(): void; static ɵfac: i0.ɵɵFactoryDeclaration<HotkeysCheatsheetComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<HotkeysCheatsheetComponent, "hotkeys-cheatsheet", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, never, false, never>; }