jeudi 11 décembre 2014

Why not make plugin have Bindable mixin?

I noticed that all plugins do not have Bindiable Mixin. Why not?

Code:



plugins: {
xclass: 'Ext.ux.BoxReorderer',
listeners: {
drop: function() {
// imagine 20 lines of logic
}
}
}

If I'm using pure MVVM then I really should implement drop in the controller. Perhaps there is a reason why this was purposefully not allowed. Can anyone englighten me?



Why not make plugin have Bindable mixin?

Aucun commentaire:

Enregistrer un commentaire