VttCue class

Inheritance
Annotations
  • @Native("VTTCue")

Constructors

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

Properties

align String
read / write
line Object
@Creates('Null'), @Returns('num|String'), read / write
position Object
@Creates('Null'), @Returns('num|String'), read / write
region VttRegion
read / write
size num
read / write
snapToLines bool
read / write
text String
read / write
vertical String
read / write
endTime num
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
read / write, inherited
on Events
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-only, inherited
onEnter Stream<Event>
Stream of enter events handled by this TextTrackCue.
read-only, inherited
onExit Stream<Event>
Stream of exit events handled by this TextTrackCue.
read-only, inherited
pauseOnExit bool
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startTime num
read / write, inherited
track TextTrack
read-only, inherited

Methods

getCueAsHtml() DocumentFragment
@JSName('getCueAsHTML')
addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
dispatchEvent(Event event) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited