UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

24 lines (23 loc) 972 B
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { Overlay } from '@angular/cdk/overlay'; import { EmbeddedViewRef, NgZone } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzDropdownMenuComponent } from './dropdown-menu.component'; import * as i0 from "@angular/core"; export declare class NzContextMenuService { private ngZone; private overlay; private overlayRef; private closeSubscription; constructor(ngZone: NgZone, overlay: Overlay); create($event: MouseEvent | { x: number; y: number; }, nzDropdownMenuComponent: NzDropdownMenuComponent): EmbeddedViewRef<NzSafeAny>; close(clear?: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<NzContextMenuService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NzContextMenuService>; }