Hi,
In what cases should one use fireNonBubblingEvent() instead of fireEvent()? I
saw it used in the qx.ui.window.Window class:
close : function()
{
if (!this.isVisible()) {
return;
}
if (this.fireNonBubblingEvent("beforeClose", qx.event.type.Event, [false,
true]))
{
this.hide();
this.fireEvent("close");
}
},
But I do not really understand why a non bubbling event is preferred here.
Thanx.
Regards,
Martijn.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel