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 | |
6 | namespace Wikimedia\IDLeDOM; |
7 | |
8 | /** |
9 | * HTMLOptionElement |
10 | * |
11 | * @see https://dom.spec.whatwg.org/#interface-htmloptionelement |
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 bool $disabled |
72 | * @property HTMLFormElement|null $form |
73 | * @property string $label |
74 | * @property bool $defaultSelected |
75 | * @property bool $selected |
76 | * @property string $value |
77 | * @property string $text |
78 | * @property int $index |
79 | * @phan-forbid-undeclared-magic-properties |
80 | */ |
81 | interface HTMLOptionElement extends HTMLElement { |
82 | // Direct parent: HTMLElement |
83 | |
84 | /** |
85 | * @return bool |
86 | */ |
87 | public function getDisabled(): bool; |
88 | |
89 | /** |
90 | * @param bool $val |
91 | */ |
92 | public function setDisabled( bool $val ): void; |
93 | |
94 | /** |
95 | * @return HTMLFormElement|null |
96 | */ |
97 | public function getForm(); |
98 | |
99 | /** |
100 | * @return string |
101 | */ |
102 | public function getLabel(): string; |
103 | |
104 | /** |
105 | * @param string $val |
106 | */ |
107 | public function setLabel( string $val ): void; |
108 | |
109 | /** |
110 | * @return bool |
111 | */ |
112 | public function getDefaultSelected(): bool; |
113 | |
114 | /** |
115 | * @param bool $val |
116 | */ |
117 | public function setDefaultSelected( bool $val ): void; |
118 | |
119 | /** |
120 | * @return bool |
121 | */ |
122 | public function getSelected(): bool; |
123 | |
124 | /** |
125 | * @param bool $val |
126 | */ |
127 | public function setSelected( bool $val ): void; |
128 | |
129 | /** |
130 | * @return string |
131 | */ |
132 | public function getValue(): string; |
133 | |
134 | /** |
135 | * @param string $val |
136 | */ |
137 | public function setValue( string $val ): void; |
138 | |
139 | /** |
140 | * @return string |
141 | */ |
142 | public function getText(): string; |
143 | |
144 | /** |
145 | * @param string $val |
146 | */ |
147 | public function setText( string $val ): void; |
148 | |
149 | /** |
150 | * @return int |
151 | */ |
152 | public function getIndex(): int; |
153 | |
154 | } |