I am constructing a markup string with an onclick action as shown below.
helpInfoMarkup: computed('levelInfo.name', function() {
return '<a class="help-text" ' + get(this, 'levelInfo.name') + '</a>';
}
My .hbs file
<div>}</div>
However this is not binding to the ember action and just appears as part of the markup and does not work? Any thoughts on this ?
Aucun commentaire:
Enregistrer un commentaire