Saturday, June 9, 2018

Render html tags in template for ionic 2 | ionic 3 | ionic 4 | angular2 | angular4

You can render html with its tags in template by using below code :

<label [innerHtml]=“title“></lable>

Here “title” is your TS file variable in which you can assign your all html text.

No comments:

Post a Comment