You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mohemmionic5/Mohem/node_modules_/primeng/components/contextmenu/contextmenu.d.ts

48 lines
1.5 KiB
TypeScript

import { ElementRef, AfterViewInit, OnDestroy, Renderer2, NgZone } from '@angular/core';
import { MenuItem } from '../common/menuitem';
export declare class ContextMenuSub {
contextMenu: ContextMenu;
item: MenuItem;
root: boolean;
constructor(contextMenu: ContextMenu);
activeItem: any;
containerOffset: any;
hideTimeout: any;
onItemMouseEnter(event: any, item: any, menuitem: any): void;
onItemMouseLeave(event: any, link: any): void;
itemClick(event: any, item: MenuItem): void;
listClick(event: any): void;
position(sublist: any, item: any): void;
}
export declare class ContextMenu implements AfterViewInit, OnDestroy {
el: ElementRef;
renderer: Renderer2;
zone: NgZone;
model: MenuItem[];
global: boolean;
target: any;
style: any;
styleClass: string;
appendTo: any;
autoZIndex: boolean;
baseZIndex: number;
triggerEvent: string;
containerViewChild: ElementRef;
documentClickListener: any;
windowResizeListener: any;
triggerEventListener: any;
constructor(el: ElementRef, renderer: Renderer2, zone: NgZone);
ngAfterViewInit(): void;
show(event?: MouseEvent): void;
hide(): void;
moveOnTop(): void;
toggle(event?: MouseEvent): void;
position(event?: MouseEvent): void;
bindGlobalListeners(): void;
unbindGlobalListeners(): void;
onWindowResize(event: any): void;
ngOnDestroy(): void;
}
export declare class ContextMenuModule {
}