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