Sys.UI.Control onBubbleEvent Method
Called when an event is raised by the raiseBubbleEvent method.
Syntax
MyControl.onBubbleEvent(source, args);
|
Term
|
Definition
|
|
source
|
The object that triggered the event.
|
|
args
|
The event arguments.
|
Return Value
false in all cases.
Remarks
The onBubbleEvent method returns false to make sure that unhandled events propagate (bubble) to the parent control. In derived classes, you should override the onBubbleEvent method and return true when events are handled to prevent the events from bubbling further. For an explanation of bubbling, see raiseBubbleEvent Method.