UNPKG

ng-zorro-antd

Version:

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

25 lines (24 loc) 857 B
/** * @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 { BehaviorSubject, Subject } from 'rxjs'; import { NzDirectionVHIType } from '../types'; export declare class NzMenuBaseService { isInDropDown: boolean; menuItemClick$: Subject<any>; theme$: Subject<unknown>; mode$: BehaviorSubject<NzDirectionVHIType>; inlineIndent$: BehaviorSubject<number>; theme: 'light' | 'dark'; mode: NzDirectionVHIType; inlineIndent: number; menuOpen$: BehaviorSubject<boolean>; onMenuItemClick(menu: any): void; setMode(mode: NzDirectionVHIType): void; setTheme(theme: 'light' | 'dark'): void; setInlineIndent(indent: number): void; }