Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3// AUTOMATICALLY GENERATED.  DO NOT EDIT.
4// Use `composer build` to regenerate.
5
6namespace Wikimedia\IDLeDOM;
7
8/**
9 * HTMLTrackElement
10 *
11 * @see https://dom.spec.whatwg.org/#interface-htmltrackelement
12 *
13 * @property int $nodeType
14 * @property string $nodeName
15 * @property string $baseURI
16 * @property bool $isConnected
17 * @property Document|null $ownerDocument
18 * @property Node|null $parentNode
19 * @property Element|null $parentElement
20 * @property NodeList $childNodes
21 * @property Node|null $firstChild
22 * @property Node|null $lastChild
23 * @property Node|null $previousSibling
24 * @property Node|null $nextSibling
25 * @property ?string $nodeValue
26 * @property ?string $textContent
27 * @property string $innerHTML
28 * @property Element|null $previousElementSibling
29 * @property Element|null $nextElementSibling
30 * @property HTMLCollection $children
31 * @property Element|null $firstElementChild
32 * @property Element|null $lastElementChild
33 * @property int $childElementCount
34 * @property HTMLSlotElement|null $assignedSlot
35 * @property ?string $namespaceURI
36 * @property ?string $prefix
37 * @property string $localName
38 * @property string $tagName
39 * @property string $id
40 * @property string $className
41 * @property DOMTokenList $classList
42 * @property string $slot
43 * @property NamedNodeMap $attributes
44 * @property ShadowRoot|null $shadowRoot
45 * @property string $outerHTML
46 * @property CSSStyleDeclaration $style
47 * @property string $contentEditable
48 * @property string $enterKeyHint
49 * @property bool $isContentEditable
50 * @property string $inputMode
51 * @property EventHandlerNonNull|callable|null $onload
52 * @property DOMStringMap $dataset
53 * @property string $nonce
54 * @property int $tabIndex
55 * @property string $title
56 * @property string $lang
57 * @property bool $translate
58 * @property string $dir
59 * @property bool $hidden
60 * @property string $accessKey
61 * @property string $accessKeyLabel
62 * @property bool $draggable
63 * @property bool $spellcheck
64 * @property string $autocapitalize
65 * @property string $innerText
66 * @property Element|null $offsetParent
67 * @property int $offsetTop
68 * @property int $offsetLeft
69 * @property int $offsetWidth
70 * @property int $offsetHeight
71 * @property string $kind
72 * @property string $src
73 * @property string $srclang
74 * @property string $label
75 * @property bool $default
76 * @property int $readyState
77 * @phan-forbid-undeclared-magic-properties
78 */
79interface HTMLTrackElement extends HTMLElement {
80    // Direct parent: HTMLElement
81
82    /**
83     * @return string
84     */
85    public function getKind(): string;
86
87    /**
88     * @param string $val
89     */
90    public function setKind( string $val ): void;
91
92    /**
93     * @return string
94     */
95    public function getSrc(): string;
96
97    /**
98     * @param string $val
99     */
100    public function setSrc( string $val ): void;
101
102    /**
103     * @return string
104     */
105    public function getSrclang(): string;
106
107    /**
108     * @param string $val
109     */
110    public function setSrclang( string $val ): void;
111
112    /**
113     * @return string
114     */
115    public function getLabel(): string;
116
117    /**
118     * @param string $val
119     */
120    public function setLabel( string $val ): void;
121
122    /**
123     * @return bool
124     */
125    public function getDefault(): bool;
126
127    /**
128     * @param bool $val
129     */
130    public function setDefault( bool $val ): void;
131
132    /** @var int */
133    public const NONE = 0;
134
135    /** @var int */
136    public const LOADING = 1;
137
138    /** @var int */
139    public const LOADED = 2;
140
141    /** @var int */
142    public const ERROR = 3;
143
144    /**
145     * @return int
146     */
147    public function getReadyState(): int;
148
149}