jQuery event.isImmediatePropagationStopped() Method
Example
Check if event.stopImmediatePropagation() was called:
$("div").click(function(event){
event.stopImmediatePropagation();
alert(event.isImmediatePropagationStopped());
});
Try it yourself »
Definition and Usage
This method checks whether the event.stopImmediatePropagation() was called for the event.
This method returns true if event.stopImmediatePropagation() is called, and false if not.
Syntax
event.isImmediatePropagationStopped()
Parameter | Description |
---|---|
event | Required. The event parameter comes from the event binding function |