I want to call a function inside some embedded html. I tried the following but the function isn\'t called. Would this be the incorrect way of calling a function inside a ren
To call the function you have to add ()
()
{this.renderIcon()}