stopImmediatePropagation
Summary
Prevents any further propagation of an event.
Syntax
event.stopImmediatePropagation();
Return Value
No return value
Usage
Use this method to prevent any further dispatch of the event, even if additional event handlers remain on the target element.
Notes
To allow the remaining handlers to run, use the stopPropagation method instead.
Related specifications
- DOM Level 3 Events
- Working Draft
See also
Related pages
- SVGZoomEventSVGZoomEvent
- BeforeUnloadEventBeforeUnloadEvent
- CompositionEventCompositionEvent
- CustomEventCustomEvent
- DragEventDragEvent
- EventEvent
- FocusEventFocusEvent
- KeyboardEventKeyboardEvent
- MessageEventMessageEvent
- MouseEventMouseEvent
- WheelEventWheelEvent
- MutationEventMutationEvent
- StorageEventStorageEvent
- TextEventTextEvent
- UIEventUIEvent
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]