VttCue class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('VTTCue')
  • @Experimental()
  • @Native("VTTCue")

Constructors

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

Properties

align String
@DocsEditable(), @DomName('VTTCue.align'), @Experimental(), read / write
line Object
@Creates('Null'), @DocsEditable(), @DomName('VTTCue.line'), @Experimental(), @Returns('num|String'), read / write
position Object
@Creates('Null'), @DocsEditable(), @DomName('VTTCue.position'), @Experimental(), @Returns('num|String'), read / write
region VttRegion
@DocsEditable(), @DomName('VTTCue.region'), @Experimental(), read / write
size num
@DocsEditable(), @DomName('VTTCue.size'), @Experimental(), read / write
snapToLines bool
@DocsEditable(), @DomName('VTTCue.snapToLines'), @Experimental(), read / write
text String
@DocsEditable(), @DomName('VTTCue.text'), @Experimental(), read / write
vertical String
@DocsEditable(), @DomName('VTTCue.vertical'), @Experimental(), read / write
endTime num
@DocsEditable(), @DomName('TextTrackCue.endTime'), read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
@DocsEditable(), @DomName('TextTrackCue.id'), 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.
@DocsEditable(), @DomName('TextTrackCue.onenter'), read-only, inherited
onExit Stream<Event>
Stream of exit events handled by this TextTrackCue.
@DocsEditable(), @DomName('TextTrackCue.onexit'), read-only, inherited
pauseOnExit bool
@DocsEditable(), @DomName('TextTrackCue.pauseOnExit'), read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startTime num
@DocsEditable(), @DomName('TextTrackCue.startTime'), read / write, inherited
track TextTrack
@DocsEditable(), @DomName('TextTrackCue.track'), final, inherited

Methods

getCueAsHtml() DocumentFragment
@DocsEditable(), @DomName('VTTCue.getCueAsHTML'), @Experimental(), @JSName('getCueAsHTML')
addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
dispatchEvent(Event event) bool
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), 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