UNPKG

truly-ui

Version:

Web Components for Desktop Applications.

24 lines 1.06 kB
import { ElementRef, Renderer2, OnDestroy } from '@angular/core'; import { ShortcutService } from './shortcut.service'; import { ShortcutConfig } from './shortcut.config'; import * as i0 from "@angular/core"; export declare class ShortcutDirective implements OnDestroy { private shortcutConfig; private element; private shortcutService; private renderer; set shortcut(value: string); get shortcut(): string; tlbutton: any; private component; private _shortcut; private shortcutID; constructor(shortcutConfig: ShortcutConfig, element: ElementRef, shortcutService: ShortcutService, renderer: Renderer2); private setComponent; private addElement; private removeShortcut; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ShortcutDirective, [{ optional: true; }, null, null, null]>; static ɵdir: i0.ɵɵDirectiveDeclaration<ShortcutDirective, "[shortcut]", never, { "shortcut": "shortcut"; }, {}, ["tlbutton"], never, false, never>; } //# sourceMappingURL=shortcut.directive.d.ts.map