1234567891011121314151617181920212223 |
- /**
- * 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>;
- }
|