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 |
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.