i have a mixin:
export default Ember.Mixin.create({
queryParams: ['abc', 'def', 'ghi']
});
and a controller:
import SampleMixin from 'app/mixins/sample-mixin';
export Ember.ObjectController.extend(SampleMixin, {
queryParams: function () {
var mixinQParams = this.getMixinParams();
mixinQParams.append('xyz');
return mixinQParams;
}.property()
});
My questions is how do we get the queryParam of mixins so that we can edit it or add more values i.e. what to use instead of getMixinParams() above inorder to get get mixin properties.
Aucun commentaire:
Enregistrer un commentaire