ng2-json-editor
Version:
Angular2 component for editing large json documents
15 lines (14 loc) • 585 B
TypeScript
import { ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import 'mousetrap';
import { ShortcutActionService } from '../services';
import { CustomShortcutKeys } from '../interfaces';
export declare class ShortcutsDirective implements OnDestroy, OnChanges {
private el;
private shortcutActionService;
shortcuts: CustomShortcutKeys;
private readonly actionNameToShortcut;
private mousetrap;
constructor(el: ElementRef, shortcutActionService: ShortcutActionService);
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
}