UNPKG

ng-zorro-antd

Version:

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

35 lines (34 loc) 1.79 kB
/** * 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 { Direction, Directionality } from '@angular/cdk/bidi'; import { AfterContentInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core'; import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation'; import { IndexableObject, NzSafeAny } from 'ng-zorro-antd/core/types'; import { MenuService } from 'ng-zorro-antd/menu'; import { BehaviorSubject, Subject } from 'rxjs'; export declare type NzPlacementType = 'bottomLeft' | 'bottomCenter' | 'bottomRight' | 'topLeft' | 'topCenter' | 'topRight'; export declare class NzDropdownMenuComponent implements AfterContentInit, OnDestroy, OnInit { private cdr; private elementRef; private renderer; viewContainerRef: ViewContainerRef; nzMenuService: MenuService; private directionality; noAnimation?: NzNoAnimationDirective | undefined; mouseState$: BehaviorSubject<boolean>; isChildSubMenuOpen$: BehaviorSubject<boolean>; descendantMenuItemClick$: Subject<any>; nzOverlayClassName: string; nzOverlayStyle: IndexableObject; templateRef: TemplateRef<NzSafeAny>; dir: Direction; private destroy$; setMouseState(visible: boolean): void; setValue<T extends keyof NzDropdownMenuComponent>(key: T, value: this[T]): void; constructor(cdr: ChangeDetectorRef, elementRef: ElementRef, renderer: Renderer2, viewContainerRef: ViewContainerRef, nzMenuService: MenuService, directionality: Directionality, noAnimation?: NzNoAnimationDirective | undefined); ngOnInit(): void; ngAfterContentInit(): void; ngOnDestroy(): void; }