I want to know how can I use raw HTML tags inside the ngOnInit()
. For example, normally I could use something like that:
element.whateverIwant + '<br>';
But when I use it inside of ngOnInit()
the <br>
becomes just normal text.
I want to know how can I use raw HTML tags inside the ngOnInit()
. For example, normally I could use something like that:
element.whateverIwant + '<br>';
But when I use it inside of ngOnInit()
the <br>
becomes just normal text.