UNPKG

971 BTypeScriptView Raw
1import { ElementRef, AfterViewInit, Renderer2, TemplateRef } from '@angular/core';
2import { PlacementTypes } from './position';
3import { StyleTypes } from './style.type';
4export declare class TooltipContentComponent implements AfterViewInit {
5 element: ElementRef;
6 private renderer;
7 private platformId;
8 host: ElementRef;
9 showCaret: boolean;
10 type: StyleTypes;
11 placement: PlacementTypes;
12 alignment: PlacementTypes;
13 spacing: number;
14 cssClass: string;
15 title: string;
16 template: TemplateRef<any>;
17 context: any;
18 caretElm: ElementRef;
19 get cssClasses(): string;
20 constructor(element: ElementRef, renderer: Renderer2, platformId: any);
21 ngAfterViewInit(): void;
22 position(): void;
23 positionContent(nativeElm: HTMLElement, hostDim: DOMRect, elmDim: DOMRect): void;
24 positionCaret(hostDim: DOMRect, elmDim: DOMRect): void;
25 checkFlip(hostDim: DOMRect, elmDim: DOMRect): void;
26 onWindowResize(): void;
27}