Partager via


Sys.UI.Control onBubbleEvent Method

Called when an event is raised by the raiseBubbleEvent method.

MyControl.onBubbleEvent(source, args);

Parameters

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

See Also

Tasks

Creating Custom AJAX Client Controls

Reference

Sys.UI.Control Class

Other Resources

Language Reference