Sys.UI.Control onBubbleEvent Method

Called when an event is raised by the raiseBubbleEvent method.

MyControl.onBubbleEvent(source, args);

Term

Definition

source

The object that triggered the event.

args

The event arguments.

false in all cases.

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 Sys.UI.Control raiseBubbleEvent Method.

Show: