Spec-Zone.ru › Haxe JavaScript

VTTCue

package js.html

extends TextTrackCue › EventTarget

Доступно в js

VTTCues представляют собой заметку в текстовой дорожке.

Документация VTTCue от Mozilla Contributors, лицензия CC-BY-SA 2.5.

См. также:

  • https://developer.mozilla.org/en-US/docs/Web/API/VTTCue

Конструктор

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

Возвращает:

null

DOMError

Переменные

align:AlignSetting

line:EitherType<Float, AutoKeyword>

lineAlign:LineAlignSetting

position:EitherType<Float, AutoKeyword>

positionAlign:PositionAlignSetting

region:VTTRegion

size:Float

snapToLines:Bool

text:String

vertical:DirectionSetting

Методы

getCueAsHTML():DocumentFragment

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API