Is it possible to inject a mixin from inside a component in ember ?
import mixinCreator from 'ember-mixin-....';
export default Ember.Component.extend({
didReceiveAttrs() {
var aMixin = mixinCreator(...)
this.reopen(aMixin );
}
});
Aucun commentaire:
Enregistrer un commentaire