1 | import { EventEmitter, ViewContainerRef, Renderer2, OnDestroy, TemplateRef } from '@angular/core';
|
2 | import { PlacementTypes } from './position';
|
3 | import { StyleTypes } from './style.type';
|
4 | import { ShowTypes } from './show.type';
|
5 | import { TooltipService } from './tooltip.service';
|
6 | import * as i0 from "@angular/core";
|
7 | export declare class TooltipDirective implements OnDestroy {
|
8 | private tooltipService;
|
9 | private viewContainerRef;
|
10 | private renderer;
|
11 | tooltipCssClass: string;
|
12 | tooltipTitle?: string;
|
13 | tooltipAppendToBody: boolean;
|
14 | tooltipSpacing: number;
|
15 | tooltipDisabled: boolean;
|
16 | tooltipShowCaret: boolean;
|
17 | tooltipPlacement: PlacementTypes;
|
18 | tooltipAlignment: PlacementTypes;
|
19 | tooltipType: StyleTypes;
|
20 | tooltipCloseOnClickOutside: boolean;
|
21 | tooltipCloseOnMouseLeave: boolean;
|
22 | tooltipHideTimeout: number;
|
23 | tooltipShowTimeout: number;
|
24 | tooltipTemplate: TemplateRef<any>;
|
25 | tooltipShowEvent: ShowTypes;
|
26 | tooltipContext: any;
|
27 | tooltipImmediateExit: boolean;
|
28 | show: EventEmitter<boolean>;
|
29 | hide: EventEmitter<boolean>;
|
30 | private get listensForFocus();
|
31 | private get listensForHover();
|
32 | private component;
|
33 | private timeout;
|
34 | private mouseLeaveContentEvent;
|
35 | private mouseEnterContentEvent;
|
36 | private documentClickEvent;
|
37 | constructor(tooltipService: TooltipService, viewContainerRef: ViewContainerRef, renderer: Renderer2);
|
38 | ngOnDestroy(): void;
|
39 | onFocus(): void;
|
40 | onBlur(): void;
|
41 | onMouseEnter(): void;
|
42 | onMouseLeave(target: any): void;
|
43 | onMouseClick(): void;
|
44 | showTooltip(immediate?: boolean): void;
|
45 | addHideListeners(tooltip: HTMLElement): void;
|
46 | hideTooltip(immediate?: boolean): void;
|
47 | private createBoundOptions;
|
48 | static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
49 | static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[ngx-tooltip]", never, { "tooltipCssClass": { "alias": "tooltipCssClass"; "required": false; }; "tooltipTitle": { "alias": "tooltipTitle"; "required": false; }; "tooltipAppendToBody": { "alias": "tooltipAppendToBody"; "required": false; }; "tooltipSpacing": { "alias": "tooltipSpacing"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipShowCaret": { "alias": "tooltipShowCaret"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipAlignment": { "alias": "tooltipAlignment"; "required": false; }; "tooltipType": { "alias": "tooltipType"; "required": false; }; "tooltipCloseOnClickOutside": { "alias": "tooltipCloseOnClickOutside"; "required": false; }; "tooltipCloseOnMouseLeave": { "alias": "tooltipCloseOnMouseLeave"; "required": false; }; "tooltipHideTimeout": { "alias": "tooltipHideTimeout"; "required": false; }; "tooltipShowTimeout": { "alias": "tooltipShowTimeout"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "tooltipShowEvent": { "alias": "tooltipShowEvent"; "required": false; }; "tooltipContext": { "alias": "tooltipContext"; "required": false; }; "tooltipImmediateExit": { "alias": "tooltipImmediateExit"; "required": false; }; }, { "show": "show"; "hide": "hide"; }, never, never, false, never>;
|
50 | }
|