GlobalEventHandlers.oncuechange
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
oncuechange
属性属于 GlobalEventHandlers
,是一个处理 cuechange
事件的事件处理器。当TextTrack
更改了当前显示的提示时,cuechange
事件将会触发。
语法
js
element.oncuechange = handlerFunction;
var handlerFunction = element.oncuechange;
handlerFunction
可以为 null
,也可以是一个处理指定事件的JavaScript 函数。
规范
Specification |
---|
HTML # event-media-cuechange |
HTML # handler-texttrack-oncuechange |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
cuechange event |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.