ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
23 lines (22 loc) • 879 B
TypeScript
/**
* 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 { NgZone } from '@angular/core';
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): void;
close(clear?: boolean): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzContextMenuService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<NzContextMenuService>;
}