@metadev/lux
Version:
Lux: Library with User Interface components for Angular.
28 lines (27 loc) • 1.21 kB
TypeScript
import { ElementRef } from '@angular/core';
import { TooltipService } from './tooltip.service';
import { PlacementValue } from './placement';
import { TooltipContentRef } from './tooltop-content';
import * as i0 from "@angular/core";
/**
* Tooltip directive
*/
export declare class LuxTooltipDirective {
private elHost;
private tooltipService;
/** Tooltip title */
luxTooltip: any;
/** Component, TemplateRef or String */
content: any;
/** Placement */
placement: PlacementValue;
tooltipRef: TooltipContentRef;
constructor(elHost: ElementRef, tooltipService: TooltipService);
onMouseEnter(): void;
onMouseLeave(): void;
onClick(): void;
show(component: any, elHost: ElementRef, placement: PlacementValue): TooltipContentRef;
remove(tooltipRef: TooltipContentRef): void;
static ɵfac: i0.ɵɵFactoryDeclaration<LuxTooltipDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<LuxTooltipDirective, "[luxTooltip]", never, { "luxTooltip": { "alias": "luxTooltip"; "required": false; }; "content": { "alias": "content"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, {}, never, never, false, never>;
}