bubbles
Summary
Gets a value that indicates whether an event propagates up from the event target.
Property of dom/Eventdom/Event
Syntax
Note: This property is read-only.
var bubbles = event.bubbles;
Return Value
Returns an object of type BooleanBoolean
Whether the event propagates upward from the event target.
Notes
When you create a custom event by using the createEvent method, you can set the bubbles property by using the initEvent method.
Related specifications
- DOM Level 3 Events
- Working Draft
See also
Related pages
- SVGZoomEventSVGZoomEvent
- BeforeUnloadEventBeforeUnloadEvent
- CompositionEventCompositionEvent
- CustomEventCustomEvent
- EventEvent
- DragEventDragEvent
- FocusEventFocusEvent
- KeyboardEventKeyboardEvent
- MessageEventMessageEvent
- MouseEventMouseEvent
- MouseWheelEventMouseWheelEvent
- MutationEventMutationEvent
- StorageEventStorageEvent
- TextEventTextEvent
- UIEventUIEvent
Reference
- cancelablecancelable
- stopPropagationstopPropagation
- stopImmediatePropagationstopImmediatePropagation
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]