UNPKG

@xui/components

Version:

xUI Components for Angular

20 lines (19 loc) 960 B
import { EventEmitter, ViewContainerRef } from '@angular/core'; import { Overlay } from '@angular/cdk/overlay'; import { ContextMenuAnchor } from './context-menu.types'; import * as i0 from "@angular/core"; export declare class XuiContextMenu { private overlay; private viewContainerRef; private overlayRef; anchor: import("@angular/core").InputSignal<ContextMenuAnchor | undefined>; afterClosed: EventEmitter<any>; private templateRef; private buttons; constructor(overlay: Overlay, viewContainerRef: ViewContainerRef); open(anchor?: ContextMenuAnchor): void; private calculatePositionStrategy; close(): void; static ɵfac: i0.ɵɵFactoryDeclaration<XuiContextMenu, never>; static ɵcmp: i0.ɵɵComponentDeclaration<XuiContextMenu, "xui-context-menu", never, { "anchor": { "alias": "anchor"; "required": false; "isSignal": true; }; }, { "afterClosed": "afterClosed"; }, ["buttons"], ["*"], false, never>; }