W3cubDocs

/Haxe JavaScript

VTTCue

package js.html

extends TextTrackCueEventTarget

@:native("VTTCue") Available on js

Constructor

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

Throws:

null DOMError

Variables

align:AlignSetting

line:EitherType<Int, Dynamic>

lineAlign:AlignSetting

position:Int

positionAlign:AlignSetting

region:VTTRegion

size:Int

snapToLines:Bool

text:String

vertical:DirectionSetting

Methods

getCueAsHTML ():DocumentFragment

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