lundi 9 février 2015

Ember - how to make component an empty tag?


tagName: 'img' produces `<img></img>`.


Is there a way to prevent this? I know I could just create a div and put the img inside, but creating the img right away is more convenient for me and I dont need to create any template for the component. Thanks for any input.





Aucun commentaire:

Enregistrer un commentaire