mercredi 24 juin 2015

Supplying an action to the tagName on a component

I am creating a component based on this jsbin.

The trouble is that it is wrapped inside of a div. This wrecks some formatting I have. I changed it to use tagName : 'select' and removed the <select> tag from the template, however, how do I use the {{action 'change' on='change'}} that was previously in the template and apply it to the tagName?




Aucun commentaire:

Enregistrer un commentaire