UNPKG

systelab-components

Version:

systelab-components is a set of components that use wide accepted and adopted standard technologies like Angular and Bootstrap, as well as other popular libraries. Please read the ATTRIBUTION.md file for a complete list of dependencies.

21 lines (20 loc) 1.35 kB
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core'; import { ContextMenuOption } from './context-menu-option'; import { AbstractContextMenuComponent } from './abstract-context-menu.component'; import * as i0 from "@angular/core"; export declare class ContextMenuComponent extends AbstractContextMenuComponent<ContextMenuOption> implements OnInit, OnDestroy { protected el: ElementRef; protected myRenderer: Renderer2; protected cdr: ChangeDetectorRef; constructor(el: ElementRef, myRenderer: Renderer2, cdr: ChangeDetectorRef); openWithOptions(event: MouseEvent, newContextMenuOptions: Array<ContextMenuOption>): void; getSelfReference(): AbstractContextMenuComponent<ContextMenuOption>; protected existsAtLeastOneActionEnabled(): boolean; isEnabled(elementId: string, actionId: string): boolean; isIconEnabled(elementId: string, actionId: string): boolean; executeAction(event: any, elementId: string, actionId: string): void; protected checkIfHasIcons(): void; protected getOption(actionId: string, parentAction?: string): ContextMenuOption; static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenuComponent, "systelab-context-menu", never, {}, {}, never, ["*"], false, never>; }