truly-ui
Version:
Web Components for Desktop Applications.
20 lines • 955 B
TypeScript
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
import { ContextMenuInterface } from './interfaces/context-menu.interface';
import { OverlayModule } from '@angular/cdk/overlay';
import * as i0 from "@angular/core";
export declare class TlContextMenuComponent implements OnInit {
private changes;
contextMenu: ContextMenuInterface[];
private currentContext;
select: EventEmitter<any>;
isOpen: boolean;
positions: OverlayModule[];
constructor(changes: ChangeDetectorRef);
ngOnInit(): void;
init(items: ContextMenuInterface[], context: any): void;
onClickItem(callback: any): any;
onItemMouseOver(item: any): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TlContextMenuComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TlContextMenuComponent, "tl-context-menu", never, {}, { "select": "select"; }, never, never, false, never>;
}
//# sourceMappingURL=context-menu.d.ts.map