docking-egid
Version:
This library is built to provide a solution for Angular enables the creation of complex layouts consisting of panels that can be floated, docked, nested, resized, pinned, unpinned and closed. Additional components can be integrated to create an IDE-like l
29 lines (28 loc) • 918 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
import { IgcContextMenuItem, IgcContextMenuOrientation, IgcContextMenuPosition } from '../dockmanager/dockmanager.interfaces';
/**
* @hidden
*/
export declare class IgcContextMenuComponent {
private menuItemsDiv;
elem: HTMLElement;
orientation: IgcContextMenuOrientation;
position: IgcContextMenuPosition;
target: HTMLElement;
items: IgcContextMenuItem[];
menuClosed: EventEmitter;
activeIndex: number;
emitMenuClosed(): void;
connectedCallback(): void;
disconnectedCallback(): void;
handleDocumentResize: () => void;
handleDocumentMouseDown: (ev: MouseEvent) => void;
componentDidLoad(): void;
private focusItemAndSetActiveIndex;
private handleKeyboardEvents;
private handleMenuItemClick;
private renderItemIcon;
private renderCloseButton;
private renderUnpinButton;
render(): any;
}