@perfectmemory/ngx-contextmenu
Version:
A context menu component for Angular
23 lines (22 loc) • 655 B
TypeScript
import { OverlayRef } from '@angular/cdk/overlay';
import { EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ContextMenuOverlaysService {
/**
* Emits when all context menus are closed
*/
allClosed: EventEmitter<void>;
private stack;
/**
* Add an item to the stack
*/
push(value: OverlayRef): void;
/**
* Clear the whole stack
*/
closeAll(): void;
isEmpty(): boolean;
private dispose;
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuOverlaysService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuOverlaysService>;
}