Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
https://html.spec.whatwg.org/multipage/media.html#texttrackcue

Extends

Properties

endTime

endTime: number https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-endtime. TODO : unrestricted double?

id

id: string For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-id.

onenter

onenter: EventHandler For additional information, see https://html.spec.whatwg.org/multipage/media.html#handler-texttrackcue-onenter.

onexit

onexit: EventHandler For additional information, see https://html.spec.whatwg.org/multipage/media.html#handler-texttrackcue-onexit.

pauseOnExit

pauseOnExit: boolean https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-pauseonexit

startTime

startTime: number For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-starttime.

track?

readonly optional track: TextTrack For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-track.

Methods

addEventListener()

addEventListener(type, listener, options?): void Adds an event listener.

Parameters

type
string The event to listen to.
listener
EventListener The Event Handler function.
options?
Ignore.

Returns

void

Inherited from

EventTarget.addEventListener

dispatchEvent()?

optional dispatchEvent(event): boolean Dispatches an event to the target

Parameters

event
Event The event which signals an occurrenceo.

Returns

boolean

TODO

Add and define in the implementations, keep it optional for now.

Inherited from

EventTarget.dispatchEvent

removeEventListener()

removeEventListener(type, listener, options?): void Removes an event listener.

Parameters

type
string The event to listen to.
listener
EventListener The Event Handler function to be removed.
options?
Ignore.

Returns

void

Inherited from

EventTarget.removeEventListener
Last modified on February 25, 2026