as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

TrackEvent

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

Extends

Constructors

new TrackEvent()

new TrackEvent(type, target, track): TrackEvent

Parameters

type

string

target

EventTarget

track
AudioTrack VideoTrack TextTrack

Returns

TrackEvent

Overrides

Event.constructor

Properties

target

readonly target: EventTarget

Inherited from

Event.target


track

track: AudioTrack | VideoTrack | TextTrack

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


type

readonly type: string

Inherited from

Event.type


Last updated: Oct 02, 2025