VTTCue class

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

VTTCue(num startTime, num endTime, String text)
factory

Properties

addEventListener ↔ void Function(String, [Object?, Object?])

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
addEventListener → ({void Function<K$>(TextTrackCueEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on TextTrackCue, provided by the TextTrackCue$Typings extension

Overload accessor: $1, $2
no setter
addEventListener → ({void Function<K$>(TextTrackCueEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on VTTCue, provided by the VTTCue$Typings extension

Overload accessor: $1, $2
no setter
align AlignSetting

Available on VTTCue, provided by the VTTCue$Typings extension

MDN Reference
getter/setter pair
dispatchEvent bool Function(Event)

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
endTime num

Available on TextTrackCue, provided by the TextTrackCue$Typings extension

Returns the text track cue end time, in seconds.
getter/setter pair
getCueAsHTML DocumentFragment Function()

Available on VTTCue, provided by the VTTCue$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String

Available on TextTrackCue, provided by the TextTrackCue$Typings extension

Returns the text track cue identifier.
getter/setter pair
line Object

Available on VTTCue, provided by the VTTCue$Typings extension

MDN Reference
getter/setter pair
lineAlign LineAlignSetting

Available on VTTCue, provided by the VTTCue$Typings extension

MDN Reference
getter/setter pair
onenter ↔ dynamic Function(Event)?

Available on TextTrackCue, provided by the TextTrackCue$Typings extension

MDN Reference
getter/setter pair
onexit ↔ dynamic Function(Event)?

Available on TextTrackCue, provided by the TextTrackCue$Typings extension

MDN Reference
getter/setter pair
pauseOnExit bool

Available on TextTrackCue, provided by the TextTrackCue$Typings extension

Returns true if the text track cue pause-on-exit flag is set, false otherwise.
getter/setter pair
position Object

Available on VTTCue, provided by the VTTCue$Typings extension

MDN Reference
getter/setter pair
positionAlign PositionAlignSetting

Available on VTTCue, provided by the VTTCue$Typings extension

MDN Reference
getter/setter pair
region VTTRegion?

Available on VTTCue, provided by the VTTCue$Typings extension

MDN Reference
getter/setter pair
removeEventListener ↔ void Function(String, [Object?, Object?])

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
removeEventListener → ({void Function<K$>(TextTrackCueEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on TextTrackCue, provided by the TextTrackCue$Typings extension

Overload accessor: $1, $2
no setter
removeEventListener → ({void Function<K$>(TextTrackCueEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on VTTCue, provided by the VTTCue$Typings extension

Overload accessor: $1, $2
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size num

Available on VTTCue, provided by the VTTCue$Typings extension

MDN Reference
getter/setter pair
snapToLines bool

Available on VTTCue, provided by the VTTCue$Typings extension

MDN Reference
getter/setter pair
startTime num

Available on TextTrackCue, provided by the TextTrackCue$Typings extension

Returns the text track cue start time, in seconds.
getter/setter pair
text String

Available on VTTCue, provided by the VTTCue$Typings extension

MDN Reference
getter/setter pair
track TextTrack?

Available on TextTrackCue, provided by the TextTrackCue$Typings extension

Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise.
no setter
vertical DirectionSetting

Available on VTTCue, provided by the VTTCue$Typings extension

MDN Reference
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited