JS事件不起泡(进度,加载元数据等) [英] JS Events that don't bubble (progress, loadedmetadata, etc)
本文介绍了JS事件不起泡(进度,加载元数据等)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我发现视频/音频标签上的某些事件不会起泡(加载的元数据,进度等)。这是违反标准还是其他事件常见?
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?
推荐答案
- 您可以测试...
-
readonly属性boolean bubbles;
check这个事件的属性。
- You can test it...
readonly attribute boolean bubbles;
check this property of the event.
类型为boolean,readonly 的气泡
bubbles of type boolean, readonly
用于指示事件是否是冒泡事件。如果事件可以冒泡,值为true,否则值为false。
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源不是w3School ...:)
w3 source not w3School... :)
这篇关于JS事件不起泡(进度,加载元数据等)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文