Debian Codegraph @

vendor/wikimedia/idle-dom/src/HTMLElement.php

raw
1 <?php
2
3 // AUTOMATICALLY GENERATED. DO NOT EDIT.
4 // Use `composer build` to regenerate.
5
6 namespace Wikimedia\IDLeDOM;
7
8 /**
9 * HTMLElement
10 *
11 * @see https://dom.spec.whatwg.org/#interface-htmlelement
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 * @phan-forbid-undeclared-magic-properties
72 */
73 interface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
74 // Direct parent: Element
75
76 /**
77 * @return string
78 */
79 public function getTitle(): string;
80
81 /**
82 * @param string $val
83 */
84 public function setTitle( string $val ): void;
85
86 /**
87 * @return string
88 */
89 public function getLang(): string;
90
91 /**
92 * @param string $val
93 */
94 public function setLang( string $val ): void;
95
96 /**
97 * @return bool
98 */
99 public function getTranslate(): bool;
100
101 /**
102 * @param bool $val
103 */
104 public function setTranslate( bool $val ): void;
105
106 /**
107 * @return string
108 */
109 public function getDir(): string;
110
111 /**
112 * @param string $val
113 */
114 public function setDir( string $val ): void;
115
116 /**
117 * @return bool
118 */
119 public function getHidden(): bool;
120
121 /**
122 * @param bool $val
123 */
124 public function setHidden( bool $val ): void;
125
126 /**
127 * @return void
128 */
129 public function click(): void;
130
131 /**
132 * @return string
133 */
134 public function getAccessKey(): string;
135
136 /**
137 * @param string $val
138 */
139 public function setAccessKey( string $val ): void;
140
141 /**
142 * @return string
143 */
144 public function getAccessKeyLabel(): string;
145
146 /**
147 * @return bool
148 */
149 public function getDraggable(): bool;
150
151 /**
152 * @param bool $val
153 */
154 public function setDraggable( bool $val ): void;
155
156 /**
157 * @return bool
158 */
159 public function getSpellcheck(): bool;
160
161 /**
162 * @param bool $val
163 */
164 public function setSpellcheck( bool $val ): void;
165
166 /**
167 * @return string
168 */
169 public function getAutocapitalize(): string;
170
171 /**
172 * @param string $val
173 */
174 public function setAutocapitalize( string $val ): void;
175
176 /**
177 * @return string
178 */
179 public function getInnerText(): string;
180
181 /**
182 * @param ?string $val
183 */
184 public function setInnerText( ?string $val ): void;
185
186 /**
187 * @return Element|null
188 */
189 public function getOffsetParent();
190
191 /**
192 * @return int
193 */
194 public function getOffsetTop(): int;
195
196 /**
197 * @return int
198 */
199 public function getOffsetLeft(): int;
200
201 /**
202 * @return int
203 */
204 public function getOffsetWidth(): int;
205
206 /**
207 * @return int
208 */
209 public function getOffsetHeight(): int;
210
211 }