Input option to disable truncate
unlight opened this issue · comments
Roman Vasilev commented
My goal is add "see more" button, after pressing it text must expands.
But I cant set lineCount
to 999+, because of #10
Can we add input property disabled
which will disable truncation logic?
<p [line-truncation]="lineCount" [disabled]="!isExpanded"></p>
Di Zhou commented
Hi, thanks for reaching out, I can put an update for this. Change will be in this week
Di Zhou commented
PR: to #13
need to do some testing, and then after that i will be updating the npm package
Di Zhou commented
close this issue as the requirement has been fulfilled