You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
3.2 KiB
74 lines
3.2 KiB
import { ElementRef, OnDestroy, EventEmitter, Renderer2, ChangeDetectorRef } from '@angular/core';
|
|
import { AnimationEvent } from '@angular/animations';
|
|
import { MenuItem, OverlayService, PrimeNGConfig } from 'primeng/api';
|
|
import * as i0 from "@angular/core";
|
|
import * as i1 from "@angular/common";
|
|
import * as i2 from "@angular/router";
|
|
import * as i3 from "primeng/ripple";
|
|
import * as i4 from "primeng/tooltip";
|
|
export declare class MenuItemContent {
|
|
item: MenuItem;
|
|
menu: Menu;
|
|
constructor(menu: any);
|
|
onItemKeyDown(event: any): void;
|
|
findNextItem(item: any): any;
|
|
findPrevItem(item: any): any;
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemContent, never>;
|
|
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemContent, "[pMenuItemContent]", never, { "item": "pMenuItemContent"; }, {}, never, never>;
|
|
}
|
|
export declare class Menu implements OnDestroy {
|
|
el: ElementRef;
|
|
renderer: Renderer2;
|
|
private cd;
|
|
config: PrimeNGConfig;
|
|
overlayService: OverlayService;
|
|
model: MenuItem[];
|
|
popup: boolean;
|
|
style: any;
|
|
styleClass: string;
|
|
appendTo: any;
|
|
autoZIndex: boolean;
|
|
baseZIndex: number;
|
|
showTransitionOptions: string;
|
|
hideTransitionOptions: string;
|
|
containerViewChild: ElementRef;
|
|
onShow: EventEmitter<any>;
|
|
onHide: EventEmitter<any>;
|
|
container: HTMLDivElement;
|
|
scrollHandler: any;
|
|
documentClickListener: any;
|
|
documentResizeListener: any;
|
|
preventDocumentDefault: boolean;
|
|
target: any;
|
|
visible: boolean;
|
|
relativeAlign: boolean;
|
|
constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, config: PrimeNGConfig, overlayService: OverlayService);
|
|
toggle(event: any): void;
|
|
show(event: any): void;
|
|
onOverlayAnimationStart(event: AnimationEvent): void;
|
|
onOverlayAnimationEnd(event: AnimationEvent): void;
|
|
alignOverlay(): void;
|
|
appendOverlay(): void;
|
|
restoreOverlayAppend(): void;
|
|
moveOnTop(): void;
|
|
hide(): void;
|
|
onWindowResize(): void;
|
|
itemClick(event: MouseEvent, item: MenuItem): void;
|
|
onOverlayClick(event: any): void;
|
|
bindDocumentClickListener(): void;
|
|
unbindDocumentClickListener(): void;
|
|
bindDocumentResizeListener(): void;
|
|
unbindDocumentResizeListener(): void;
|
|
bindScrollListener(): void;
|
|
unbindScrollListener(): void;
|
|
onOverlayHide(): void;
|
|
ngOnDestroy(): void;
|
|
hasSubMenu(): boolean;
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<Menu, never>;
|
|
static ɵcmp: i0.ɵɵComponentDeclaration<Menu, "p-menu", never, { "model": "model"; "popup": "popup"; "style": "style"; "styleClass": "styleClass"; "appendTo": "appendTo"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; }, { "onShow": "onShow"; "onHide": "onHide"; }, never, never>;
|
|
}
|
|
export declare class MenuModule {
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuModule, never>;
|
|
static ɵmod: i0.ɵɵNgModuleDeclaration<MenuModule, [typeof Menu, typeof MenuItemContent], [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.RippleModule, typeof i4.TooltipModule], [typeof Menu, typeof i2.RouterModule, typeof i4.TooltipModule]>;
|
|
static ɵinj: i0.ɵɵInjectorDeclaration<MenuModule>;
|
|
}
|