UNPKG

@koalarx/ui

Version:

Koala UI is a Design System developed in Angular whose objective is to facilitate and make your development faster and simpler, making this framework your greatest ally.

23 lines (22 loc) 1.17 kB
import { OnInit } from '@angular/core'; import { KoalaMenuModuleInterface } from './koala.menu-module.interface'; import { Router } from '@angular/router'; import { BehaviorSubject } from 'rxjs'; import { KoalaMenuToolInterface } from './koala.menu-tool.interface'; import { KoalaIconType } from '@koalarx/ui/icon'; import * as i0 from "@angular/core"; export declare type MenuStateType = 'open' | 'close'; export declare const menuStateSubject: BehaviorSubject<MenuStateType | null>; export declare class MenuComponent implements OnInit { private router; titleMenu?: string; optionsSubject?: BehaviorSubject<KoalaMenuModuleInterface[]>; constructor(router: Router); ngOnInit(): void; toogle(module: KoalaMenuModuleInterface): void; getKoalaIcon(config: KoalaMenuModuleInterface | KoalaMenuToolInterface): KoalaIconType; private defineMenuOptions; private cloneOptions; static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "koala-menu", never, { "titleMenu": "titleMenu"; "optionsSubject": "optionsSubject"; }, {}, never, never, false>; }