Debian Codegraph @

vendor/wikimedia/idle-dom/src/HTMLImageElement.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 * HTMLImageElement
10 *
11 * @see https://dom.spec.whatwg.org/#interface-htmlimageelement
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 $crossOrigin
72 * @property string $referrerPolicy
73 * @property string $alt
74 * @property string $src
75 * @property string $srcset
76 * @property string $sizes
77 * @property string $useMap
78 * @property bool $isMap
79 * @property int $width
80 * @property int $height
81 * @property int $naturalWidth
82 * @property int $naturalHeight
83 * @property bool $complete
84 * @property string $currentSrc
85 * @property string $decoding
86 * @property string $loading
87 * @property string $name
88 * @property string $lowsrc
89 * @property string $align
90 * @property int $hspace
91 * @property int $vspace
92 * @property string $longDesc
93 * @property string $border
94 * @phan-forbid-undeclared-magic-properties
95 */
96 interface HTMLImageElement extends HTMLElement, CrossOrigin, ReferrerPolicy {
97 // Direct parent: HTMLElement
98
99 /**
100 * @return string
101 */
102 public function getAlt(): string;
103
104 /**
105 * @param string $val
106 */
107 public function setAlt( string $val ): void;
108
109 /**
110 * @return string
111 */
112 public function getSrc(): string;
113
114 /**
115 * @param string $val
116 */
117 public function setSrc( string $val ): void;
118
119 /**
120 * @return string
121 */
122 public function getSrcset(): string;
123
124 /**
125 * @param string $val
126 */
127 public function setSrcset( string $val ): void;
128
129 /**
130 * @return string
131 */
132 public function getSizes(): string;
133
134 /**
135 * @param string $val
136 */
137 public function setSizes( string $val ): void;
138
139 /**
140 * @return string
141 */
142 public function getUseMap(): string;
143
144 /**
145 * @param string $val
146 */
147 public function setUseMap( string $val ): void;
148
149 /**
150 * @return bool
151 */
152 public function getIsMap(): bool;
153
154 /**
155 * @param bool $val
156 */
157 public function setIsMap( bool $val ): void;
158
159 /**
160 * @return int
161 */
162 public function getWidth(): int;
163
164 /**
165 * @param int $val
166 */
167 public function setWidth( int $val ): void;
168
169 /**
170 * @return int
171 */
172 public function getHeight(): int;
173
174 /**
175 * @param int $val
176 */
177 public function setHeight( int $val ): void;
178
179 /**
180 * @return int
181 */
182 public function getNaturalWidth(): int;
183
184 /**
185 * @return int
186 */
187 public function getNaturalHeight(): int;
188
189 /**
190 * @return bool
191 */
192 public function getComplete(): bool;
193
194 /**
195 * @return string
196 */
197 public function getCurrentSrc(): string;
198
199 /**
200 * @return string
201 */
202 public function getDecoding(): string;
203
204 /**
205 * @param string $val
206 */
207 public function setDecoding( string $val ): void;
208
209 /**
210 * @return string
211 */
212 public function getLoading(): string;
213
214 /**
215 * @param string $val
216 */
217 public function setLoading( string $val ): void;
218
219 /**
220 * @return string
221 */
222 public function getName(): string;
223
224 /**
225 * @param string $val
226 */
227 public function setName( string $val ): void;
228
229 /**
230 * @return string
231 */
232 public function getLowsrc(): string;
233
234 /**
235 * @param string $val
236 */
237 public function setLowsrc( string $val ): void;
238
239 /**
240 * @return string
241 */
242 public function getAlign(): string;
243
244 /**
245 * @param string $val
246 */
247 public function setAlign( string $val ): void;
248
249 /**
250 * @return int
251 */
252 public function getHspace(): int;
253
254 /**
255 * @param int $val
256 */
257 public function setHspace( int $val ): void;
258
259 /**
260 * @return int
261 */
262 public function getVspace(): int;
263
264 /**
265 * @param int $val
266 */
267 public function setVspace( int $val ): void;
268
269 /**
270 * @return string
271 */
272 public function getLongDesc(): string;
273
274 /**
275 * @param string $val
276 */
277 public function setLongDesc( string $val ): void;
278
279 /**
280 * @return string
281 */
282 public function getBorder(): string;
283
284 /**
285 * @param ?string $val
286 */
287 public function setBorder( ?string $val ): void;
288
289 }