UNPKG

m-truncate

Version:

`mTruncate` is a lightweight and customizable Angular directive for truncating text with support for tooltips. It allows you to truncate text based on width or a specified number of lines and display a tooltip when the full text is not visible.

10 lines (9 loc) 337 B
import * as i0 from "@angular/core"; export declare class MTruncateService { private direction; constructor(); setDirection(dir: 'ltr' | 'rtl'): void; getDirection(): 'ltr' | 'rtl'; static ɵfac: i0.ɵɵFactoryDeclaration<MTruncateService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<MTruncateService>; }