source: trip-planner-front/node_modules/primeng/contextmenu/contextmenu.d.ts@ 8d391a1

Last change on this file since 8d391a1 was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 3.8 KB
Line 
1import { ElementRef, AfterViewInit, OnDestroy, Renderer2, NgZone, EventEmitter, ChangeDetectorRef } from '@angular/core';
2import { MenuItem, ContextMenuService, PrimeNGConfig } from 'primeng/api';
3import { Subject, Subscription } from 'rxjs';
4import * as i0 from "@angular/core";
5import * as i1 from "@angular/common";
6import * as i2 from "@angular/router";
7import * as i3 from "primeng/ripple";
8import * as i4 from "primeng/tooltip";
9export declare class ContextMenuSub {
10 item: MenuItem;
11 root: boolean;
12 parentItemKey: any;
13 leafClick: EventEmitter<any>;
14 sublistViewChild: ElementRef;
15 menuitemViewChild: ElementRef;
16 contextMenu: ContextMenu;
17 activeItemKey: string;
18 hideTimeout: any;
19 activeItemKeyChangeSubscription: Subscription;
20 constructor(contextMenu: any);
21 ngOnInit(): void;
22 onItemMouseEnter(event: any, item: any, key: any): void;
23 onItemMouseLeave(event: any, item: any): void;
24 onItemClick(event: any, item: any, menuitem: any, key: any): void;
25 onLeafClick(): void;
26 getKey(index: any): string;
27 isActive(key: any): boolean;
28 static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuSub, never>;
29 static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenuSub, "p-contextMenuSub", never, { "item": "item"; "root": "root"; "parentItemKey": "parentItemKey"; }, { "leafClick": "leafClick"; }, never, never>;
30}
31export declare class ContextMenu implements AfterViewInit, OnDestroy {
32 el: ElementRef;
33 renderer: Renderer2;
34 cd: ChangeDetectorRef;
35 zone: NgZone;
36 contextMenuService: ContextMenuService;
37 private config;
38 model: MenuItem[];
39 global: boolean;
40 target: any;
41 style: any;
42 styleClass: string;
43 appendTo: any;
44 autoZIndex: boolean;
45 baseZIndex: number;
46 triggerEvent: string;
47 onShow: EventEmitter<any>;
48 onHide: EventEmitter<any>;
49 containerViewChild: ElementRef;
50 documentClickListener: any;
51 documentKeydownListener: any;
52 windowResizeListener: any;
53 triggerEventListener: any;
54 ngDestroy$: Subject<unknown>;
55 constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, zone: NgZone, contextMenuService: ContextMenuService, config: PrimeNGConfig);
56 ngAfterViewInit(): void;
57 show(event?: MouseEvent): void;
58 hide(): void;
59 moveOnTop(): void;
60 toggle(event?: MouseEvent): void;
61 position(event?: MouseEvent): void;
62 positionSubmenu(sublist: any): void;
63 isItemMatched(menuitem: any): boolean;
64 findNextItem(menuitem: any, isRepeated?: any): any;
65 findPrevItem(menuitem: any, isRepeated?: any): any;
66 getActiveItem(): any;
67 clearActiveItem(): void;
68 removeActiveFromSubLists(el: any): void;
69 removeActiveFromSublist(menuitem: any): void;
70 bindGlobalListeners(): void;
71 findModelItemFromKey(key: any): any;
72 handleItemClick(event: any, item: any, menuitem: any): void;
73 unbindGlobalListeners(): void;
74 onWindowResize(event: any): void;
75 isOutsideClicked(event: Event): boolean;
76 ngOnDestroy(): void;
77 static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenu, never>;
78 static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenu, "p-contextMenu", never, { "model": "model"; "global": "global"; "target": "target"; "style": "style"; "styleClass": "styleClass"; "appendTo": "appendTo"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "triggerEvent": "triggerEvent"; }, { "onShow": "onShow"; "onHide": "onHide"; }, never, never>;
79}
80export declare class ContextMenuModule {
81 static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuModule, never>;
82 static ɵmod: i0.ɵɵNgModuleDeclaration<ContextMenuModule, [typeof ContextMenu, typeof ContextMenuSub], [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.RippleModule, typeof i4.TooltipModule], [typeof ContextMenu, typeof i2.RouterModule, typeof i4.TooltipModule]>;
83 static ɵinj: i0.ɵɵInjectorDeclaration<ContextMenuModule>;
84}
Note: See TracBrowser for help on using the repository browser.