ngx-pluto
Version:
22 lines (21 loc) • 597 B
TypeScript
import { ElementRef, OnInit, ViewContainerRef } from '@angular/core';
/**
* @ignore
*/
export declare class TooltipDirective implements OnInit {
private element;
hostView: ViewContainerRef;
npTooltip: string;
direction: direction;
enterDelay: number;
leaveDelay: number;
tooltipDom: HTMLDivElement;
constructor(element: ElementRef<HTMLImageElement>, hostView: ViewContainerRef);
ngOnInit(): void;
onMouseEnter(): void;
onMouseLeave(): void;
}
/**
* @ignore
*/
export declare type direction = 'up' | 'bottom' | 'left' | 'right';