ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
21 lines (20 loc) • 682 B
TypeScript
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* 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 { NzDropdownMenuComponent } from './dropdown-menu.component';
export declare class NzContextMenuService {
private overlay;
private overlayRef;
private closeSubscription;
constructor(overlay: Overlay);
create($event: MouseEvent | {
x: number;
y: number;
}, nzDropdownMenuComponent: NzDropdownMenuComponent): void;
close(clear?: boolean): void;
}