TextTrackList
Overview
The TextTrackList interface is used to represent a list of the text tracks defined by the <track> element, with each track represented by a separate textTrack object in the list.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
- Ancestry: EventTarget | TextTrackList
addEventListener (dynamic, dynamic) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(partype: dynamic; parlistener: dynamic)
void addEventListener(dynamic partype, dynamic parlistener)
func addEventListener(_ partype: dynamic, _ parlistener: dynamic)
void addEventListener(dynamic partype, dynamic parlistener)
Sub addEventListener(partype As dynamic, parlistener As dynamic)
Parameters:
- partype:
- parlistener:
addEventListener (dynamic, dynamic, dynamic) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(type: dynamic; listener: dynamic; options: dynamic)
void addEventListener(dynamic type, dynamic listener, dynamic options)
func addEventListener(_ type: dynamic, _ listener: dynamic, _ options: dynamic)
void addEventListener(dynamic type, dynamic listener, dynamic options)
Sub addEventListener(type As dynamic, listener As dynamic, options As dynamic)
Parameters:
- type:
- listener:
- options:
addEventListener (dynamic, dynamic, Boolean) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(type: dynamic; listener: dynamic; useCapture: Boolean)
void addEventListener(dynamic type, dynamic listener, Boolean useCapture)
func addEventListener(_ type: dynamic, _ listener: dynamic, _ useCapture: Boolean)
void addEventListener(dynamic type, dynamic listener, Boolean useCapture)
Sub addEventListener(type As dynamic, listener As dynamic, useCapture As Boolean)
Parameters:
- type:
- listener:
- useCapture:
getTrackById
Returns the TextTrack found within the TextTrackList whose id matches the specified string. If no match is found, null is returned.
method getTrackById(parid: dynamic): TextTrack
TextTrack getTrackById(dynamic parid)
func getTrackById(_ parid: dynamic) -> TextTrack
TextTrack getTrackById(dynamic parid)
Function getTrackById(parid As dynamic) As TextTrack
Parameters:
- parid:
length
property length: Int32 read;
Int32 length { get; }
var length: Int32 { get{} }
Int32 length { __get; }
ReadOnly Property length() As Int32
onaddtrack
property onaddtrack: EventListener read write;
EventListener onaddtrack { get; set; }
var onaddtrack: EventListener { get{} set{} }
EventListener onaddtrack { __get; __set; }
Property onaddtrack() As EventListener
onchange
property onchange: EventListener read write;
EventListener onchange { get; set; }
var onchange: EventListener { get{} set{} }
EventListener onchange { __get; __set; }
Property onchange() As EventListener
onremovetrack
property onremovetrack: EventListener read write;
EventListener onremovetrack { get; set; }
var onremovetrack: EventListener { get{} set{} }
EventListener onremovetrack { __get; __set; }
Property onremovetrack() As EventListener
removeEventListener (declared in EventTarget)
Removes an event listener from the EventTarget.
method removeEventListener(partype: dynamic; parlistener: dynamic; paroptions: dynamic; paruseCapture: dynamic): dynamic
dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)
func removeEventListener(_ partype: dynamic, _ parlistener: dynamic, _ paroptions: dynamic, _ paruseCapture: dynamic) -> dynamic
dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)
Function removeEventListener(partype As dynamic, parlistener As dynamic, paroptions As dynamic, paruseCapture As dynamic) As dynamic
Parameters:
- partype:
- parlistener:
- paroptions:
- paruseCapture:
length
property length: Int32 read;
Int32 length { get; }
var length: Int32 { get{} }
Int32 length { __get; }
ReadOnly Property length() As Int32
onaddtrack
property onaddtrack: EventListener read write;
EventListener onaddtrack { get; set; }
var onaddtrack: EventListener { get{} set{} }
EventListener onaddtrack { __get; __set; }
Property onaddtrack() As EventListener
onchange
property onchange: EventListener read write;
EventListener onchange { get; set; }
var onchange: EventListener { get{} set{} }
EventListener onchange { __get; __set; }
Property onchange() As EventListener
onremovetrack
property onremovetrack: EventListener read write;
EventListener onremovetrack { get; set; }
var onremovetrack: EventListener { get{} set{} }
EventListener onremovetrack { __get; __set; }
Property onremovetrack() As EventListener
addEventListener (dynamic, dynamic) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(partype: dynamic; parlistener: dynamic)
void addEventListener(dynamic partype, dynamic parlistener)
func addEventListener(_ partype: dynamic, _ parlistener: dynamic)
void addEventListener(dynamic partype, dynamic parlistener)
Sub addEventListener(partype As dynamic, parlistener As dynamic)
Parameters:
- partype:
- parlistener:
addEventListener (dynamic, dynamic, dynamic) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(type: dynamic; listener: dynamic; options: dynamic)
void addEventListener(dynamic type, dynamic listener, dynamic options)
func addEventListener(_ type: dynamic, _ listener: dynamic, _ options: dynamic)
void addEventListener(dynamic type, dynamic listener, dynamic options)
Sub addEventListener(type As dynamic, listener As dynamic, options As dynamic)
Parameters:
- type:
- listener:
- options:
addEventListener (dynamic, dynamic, Boolean) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(type: dynamic; listener: dynamic; useCapture: Boolean)
void addEventListener(dynamic type, dynamic listener, Boolean useCapture)
func addEventListener(_ type: dynamic, _ listener: dynamic, _ useCapture: Boolean)
void addEventListener(dynamic type, dynamic listener, Boolean useCapture)
Sub addEventListener(type As dynamic, listener As dynamic, useCapture As Boolean)
Parameters:
- type:
- listener:
- useCapture:
getTrackById
Returns the TextTrack found within the TextTrackList whose id matches the specified string. If no match is found, null is returned.
method getTrackById(parid: dynamic): TextTrack
TextTrack getTrackById(dynamic parid)
func getTrackById(_ parid: dynamic) -> TextTrack
TextTrack getTrackById(dynamic parid)
Function getTrackById(parid As dynamic) As TextTrack
Parameters:
- parid:
removeEventListener (declared in EventTarget)
Removes an event listener from the EventTarget.
method removeEventListener(partype: dynamic; parlistener: dynamic; paroptions: dynamic; paruseCapture: dynamic): dynamic
dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)
func removeEventListener(_ partype: dynamic, _ parlistener: dynamic, _ paroptions: dynamic, _ paruseCapture: dynamic) -> dynamic
dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)
Function removeEventListener(partype As dynamic, parlistener As dynamic, paroptions As dynamic, paruseCapture As dynamic) As dynamic
Parameters:
- partype:
- parlistener:
- paroptions:
- paruseCapture: