Search code examples
javascripteventsevent-bubbling

JS Events that don't bubble (progress, loadedmetadata, etc)


I found out that certain events on the video/audio tag don't bubble (loadedmetadata, progress, etc). Is this against the standard or is it common for other events?

How am I supposed to know what events are supposed to bubble or not bubble?


Solution

    1. You can test it...
    2. readonly attribute boolean bubbles; check this property of the event.

    bubbles of type boolean, readonly

    Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.

    w3 source not w3School... :)