Add html from ts by item id


how do i add (inject) html code from ts by item id?
if i click on ion item i want it to open like drop down box to show info. (does ionic 2 have any component for that?


plain js:
document.getElementById(“item0”).innerHTML = document.getElementById(“item0”).innerHTML+<p

>“bla bla bla”<



No, please don’t directly interact with the DOM as suggested in the post marked as the “solution”. That’s Angular’s job.

Google “angular2 zippy”. There are plenty of examples of how to do this the right way.