support inner links in truncated string component

This commit is contained in:
Mononaut
2023-01-16 16:47:05 -06:00
parent dfd1de67b2
commit 73f2d54a26
12 changed files with 56 additions and 58 deletions

View File

@@ -7,6 +7,7 @@ import { Component, Input, Inject, LOCALE_ID } from '@angular/core';
})
export class TruncateComponent {
@Input() text: string;
@Input() link: any = null;
@Input() lastChars: number = 4;
@Input() maxWidth: number = null;
rtl: boolean;