@delon/abc
Version:
Common business components of ng-alain.
17 lines (16 loc) • 714 B
TypeScript
import { OnDestroy } from '@angular/core';
import * as i0 from "@angular/core";
export declare class HotkeyDirective implements OnDestroy {
private readonly el;
private readonly ngZone;
private readonly platform;
/**
* Specify [hotkey format](https://github.com/github/hotkey#hotkey-string-format)
*
* 指定[热键格式](https://github.com/github/hotkey#hotkey-string-format)
*/
set hotkey(key: string);
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<HotkeyDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<HotkeyDirective, "[hotkey]", never, { "hotkey": { "alias": "hotkey"; "required": false; }; }, {}, never, never, true, never>;
}