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.
36 lines • 726 B
JSON
{
"name": "m-truncate",
"version": "1.0.5",
"license": "MIT",
"keywords": [
"mTruncate",
"truncate",
"text-truncate",
"text-ellipsis",
"textCut",
"clipText",
"smartTruncate",
"AutoTrim"
],
"peerDependencies": {
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0"
},
"dependencies": {
"tslib": "^2.3.0"
},
"sideEffects": false,
"module": "fesm2022/m-truncate.mjs",
"typings": "index.d.ts",
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./index.d.ts",
"esm2022": "./esm2022/m-truncate.mjs",
"esm": "./esm2022/m-truncate.mjs",
"default": "./fesm2022/m-truncate.mjs"
}
}
}