GlobalEventHandlers.onloadedmetadata

您正在阅读此内容的英文版本,因为该语系尚未翻译。 帮助我们翻译此文章吧!

GlobalEventHandlers mixin的onloadedmetadata属性是处理loadedmetadata事件的EventHandler

loadedmetadata事件在元数据(metadata)被加载完成后触发。

语法

element.onloadedmetadata = handlerFunction;
var handlerFunction = element.onloadedmetadata;

handlerFunction应当是null或是由JavaScript函数声明的事件handler。

规范

规范 状态 备注
HTML Living Standard
onloadedmetadata
Living Standard

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
onloadedmetadataChrome Full support YesEdge ? Firefox Full support 3.5IE ? Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesFirefox Android Full support 4Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

参考