Prevents propagation of an event beyond the current target.
This method has no parameters.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
You can stop event propagation in the capturing or bubbling event phase by calling the stopPropagation method. However, the event dispatchs to all event listeners on the current target (regardless of capturing or bubbling) before the event flow stops. To completely prevent any remaining handlers from running, use the stopImmediatePropagation method instead.
The stopPropagation method is similar to the cancelBubble event property of Windows Internet Explorer 8 and earlier versions.
The following code example demonstrates how to stop an event early by using the stopPropagation method.
Build date: 1/23/2013