English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The event.isImmediatePropagationStopped() method checks whether event.stopImmediatePropagation() has been called on this event objectevent.stopImmediatePropagation().
If event.stopImmediatePropagation() is called, this method returns true; otherwise, it returns false.
This method does not accept any parameters.
event.isImmediatePropagationStopped()
Check if event.stopImmediatePropagation() was called:
$("div").click(function(event){ event.stopImmediatePropagation(); alert(event.isImmediatePropagationStopped()); });Test and see‹/›
Parameter | Description |
---|---|
event | TheEventThe parameters come from the event binding feature |