dimanche 21 août 2016

how to assign class names for tagless ember components

user-table.js

export default Ember.Component.extend({
    tagName: ''
});

user-table.hbs

<table>
    
</table>

usage

 //class name not applied

since i mentioned tagName for the component as empty (tagName:''), how to pass class names for that root element. is there any alternative




Aucun commentaire:

Enregistrer un commentaire