Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Interpolate string that contains html

$
0
0

Hello, I have a string that contains some html code, for example:

text = "<ion-text color='danger'>test</ion-text>";

How can I interpolate it that I don’t get the code as an output but a res “test”?

{{test}}

does not work

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>