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 Full support ≤79Firefox 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 Full support Yes

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

参考