How to truncate HTML content in Angular 2? -
i have used 1 pipe truncate ,working fine normal text not in html content
app.html
<tr> <td>{{howtoreach?.content|truncate :40}}</td> //html content.not working <td>{{howtoreach?.id}}</td> //working <td>
Comments
Post a Comment