Thanks. This is a very handy tip.
On 29/11/2015 01:54 μμ, Dietrich Streifert wrote:
> Hi voger,
>
> You are able to override mixin methods, not in the class which includes the
> mixin, but in a subclass of that class.
>
> So if class A uses mixin MA having the method _createBlocker, derive class
Hi voger,
You are able to override mixin methods, not in the class which includes the
mixin, but in a subclass of that class.
So if class A uses mixin MA having the method _createBlocker, derive class subA
from class A and override in subA method _createBlocker.
Regards
Dietrich
> Am 29.11.2
I want to override a method in qx.ui.core.MBlocker mixin. I want the
_createBlocker : function() {
return new qx.ui.core.Blocker(this);
},
to use another provided widget instead of this.
One option I guess is to call qx.Class.patch() and patch it. I don't
want that because this wo