Hi, the following (playground compatible) code:
------------------------------------------------------------------------------------------------------
qx.Class.define("MyClass", {
extend: qx.core.Object,
include: [qx.ui.core.MBlocker],
construct: function () {
this.base(arguments);
this.setBlockerColor("#D5D5D5"); // method from mixin
this.setBlockerOpacity(0.5); // method from mixin
}
});
var instance = new MyClass(); // throws error because
qx.ui.core.MBlocker.construct will be called AFTER MyClass.construct
------------------------------------------------------------------------------------------------------
throws error. What's the proper way of setting mixin properties on class
initialization?
Thanks
Gian Marco Gherardi
http://gianmarco.gherardi.me
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel