W3cubDocs

/Haxe JavaScript

VTTCue

package js.html

extends TextTrackCueEventTarget

Available on js

VTTCues represent a cue in a text track.

Documentation VTTCue by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new(startTime:Float, endTime:Float, text:String)

Throws:

null

DOMError

Variables

align:AlignSetting

line:EitherType<Float, AutoKeyword>

lineAlign:LineAlignSetting

position:EitherType<Float, AutoKeyword>

positionAlign:PositionAlignSetting

region:VTTRegion

size:Float

snapToLines:Bool

text:String

vertical:DirectionSetting

Methods

getCueAsHTML():DocumentFragment

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/VTTCue.html