HtmlTrackElement Class
https://html.spec.whatwg.org/multipage/media.html#htmltrackelement
public sealed class HtmlTrackElement : HtmlElement- Inheritance
HtmlElementHtmlTrackElement
Properties
| Name | Description |
|---|---|
| Default | Gets or sets a value indicating whether the element has the default content attribute. |
| Kind | Gets or sets the value of the kind content attribute, limited to the known values (the canonical keyword, or the default value). |
| Label | Gets or sets the value of the label content attribute. |
| ReadyState | Gets the readiness state of the text track of the element (https://html.spec.whatwg.org/multipage/media.html#dom-track-readystate): HtmlTrackElement.None, HtmlTrackElement.Loading, HtmlTrackElement.Loaded or HtmlTrackElement.Error. |
| Src | Gets or sets the src content attribute, as a URL resolved against the base URL of the document. |
| Srclang | Gets or sets the value of the srclang content attribute. |
| Track | Gets the text track of the element (https://html.spec.whatwg.org/multipage/media.html#dom-track-track). |
Default
HtmlElements.g.csGets or sets a value indicating whether the element has the default content attribute.
public bool Default { get; set; }Gets or sets the value of the kind content attribute, limited to the known values (the canonical keyword, or the default value).
public string Kind { get; set; }Label
HtmlElements.g.csGets or sets the value of the label content attribute.
public string Label { get; set; }ReadyState
TrackElement.csGets the readiness state of the text track of the element (https://html.spec.whatwg.org/multipage/media.html#dom-track-readystate): HtmlTrackElement.None, HtmlTrackElement.Loading, HtmlTrackElement.Loaded or HtmlTrackElement.Error.
public ushort ReadyState { get; }Gets or sets the src content attribute, as a URL resolved against the base URL of the document.
public string Src { get; set; }Srclang
HtmlElements.g.csGets or sets the value of the srclang content attribute.
public string Srclang { get; set; }Track
TrackElement.csGets the text track of the element (https://html.spec.whatwg.org/multipage/media.html#dom-track-track).
public TextTrack Track { get; }Constants
| Name | Description |
|---|---|
| Error | The ERROR constant (3). |
| Loaded | The LOADED constant (2). |
| Loading | The LOADING constant (1). |
| None | The NONE constant (0). |
Error
The ERROR constant (3).
public const ushort Error = 3Loaded
The LOADED constant (2).
public const ushort Loaded = 2Loading
The LOADING constant (1).
public const ushort Loading = 1None
The NONE constant (0).
public const ushort None = 0