UNPKG

m-truncate

Version:

`mTruncate` is a **lightweight, flexible, and fully standalone Angular directive** that truncates text dynamically and optionally displays a **tooltip** with the full text. It supports **character-based**, **line-based**, and **width-based** truncation

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>; }