UNPKG

ngx-ellipsis-tool

Version:

Angular directive that automatically detects when text is truncated with ellipsis (...) and shows a tooltip with the full text — only when needed!

11 lines (10 loc) 591 B
import * as i0 from "@angular/core"; export declare class TooltipComponent { text: string; top: number; left: number; customClass: string; get formattedText(): string; static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "app-tooltip", never, { "text": { "alias": "text"; "required": false; }; "top": { "alias": "top"; "required": false; }; "left": { "alias": "left"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>; }