as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持

TrackEvent

TrackEvent

https://html.spec.whatwg.org/multipage/media.html#trackevent

扩展

构造函数

new TrackEvent()

new TrackEvent(type, target, track): TrackEvent

参数

type

string

target

EventTarget

track
AudioTrack VideoTrack TextTrack

返回值

TrackEvent

覆盖

Event.constructor

属性

target

readonly target: EventTarget

继承自

Event.target


track

track: AudioTrack | VideoTrack | TextTrack

https://html.spec.whatwg.org/multipage/media.html#dom-trackevent-track(仅提供英文版)


type

readonly type: string

继承自

Event.type


Last updated: 2025年10月2日