UNPKG

1.77 kBTypeScriptView Raw
1import { ElementRef, AfterViewInit, Renderer2, TemplateRef } from '@angular/core';
2import { PlacementTypes } from './position';
3import { StyleTypes } from './style.type';
4import * as i0 from "@angular/core";
5export declare class TooltipContentComponent implements AfterViewInit {
6 element: ElementRef;
7 private renderer;
8 private platformId;
9 host: ElementRef;
10 showCaret: boolean;
11 type: StyleTypes;
12 placement: PlacementTypes;
13 alignment: PlacementTypes;
14 spacing: number;
15 cssClass: string;
16 title: string;
17 template: TemplateRef<any>;
18 context: any;
19 caretElm: ElementRef;
20 get cssClasses(): string;
21 constructor(element: ElementRef, renderer: Renderer2, platformId: any);
22 ngAfterViewInit(): void;
23 position(): void;
24 positionContent(nativeElm: HTMLElement, hostDim: DOMRect, elmDim: DOMRect): void;
25 positionCaret(hostDim: DOMRect, elmDim: DOMRect): void;
26 checkFlip(hostDim: DOMRect, elmDim: DOMRect): void;
27 onWindowResize(): void;
28 static ɵfac: i0.ɵɵFactoryDeclaration<TooltipContentComponent, never>;
29 static ɵcmp: i0.ɵɵComponentDeclaration<TooltipContentComponent, "ngx-tooltip-content", never, { "host": { "alias": "host"; "required": false; }; "showCaret": { "alias": "showCaret"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "title": { "alias": "title"; "required": false; }; "template": { "alias": "template"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, {}, never, never, false, never>;
30}