| 1 |
<?php |
| 2 |
|
| 3 |
// AUTOMATICALLY GENERATED. DO NOT EDIT. |
| 4 |
// Use `composer build` to regenerate. |
| 5 |
|
| 6 |
namespace Wikimedia\IDLeDOM; |
| 7 |
|
| 8 |
/** |
| 9 |
* HTMLButtonElement |
| 10 |
* |
| 11 |
* @see https://dom.spec.whatwg.org/#interface-htmlbuttonelement |
| 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 $autofocus |
| 72 |
* @property bool $disabled |
| 73 |
* @property HTMLFormElement|null $form |
| 74 |
* @property string $formEnctype |
| 75 |
* @property string $formMethod |
| 76 |
* @property bool $formNoValidate |
| 77 |
* @property string $formTarget |
| 78 |
* @property string $name |
| 79 |
* @property string $type |
| 80 |
* @property string $value |
| 81 |
* @property bool $willValidate |
| 82 |
* @property ValidityState $validity |
| 83 |
* @property string $validationMessage |
| 84 |
* @property NodeList $labels |
| 85 |
* @phan-forbid-undeclared-magic-properties |
| 86 |
*/ |
| 87 |
interface HTMLButtonElement extends HTMLElement { |
| 88 |
// Direct parent: HTMLElement |
| 89 |
|
| 90 |
/** |
| 91 |
* @return bool |
| 92 |
*/ |
| 93 |
public function getAutofocus(): bool; |
| 94 |
|
| 95 |
/** |
| 96 |
* @param bool $val |
| 97 |
*/ |
| 98 |
public function setAutofocus( bool $val ): void; |
| 99 |
|
| 100 |
/** |
| 101 |
* @return bool |
| 102 |
*/ |
| 103 |
public function getDisabled(): bool; |
| 104 |
|
| 105 |
/** |
| 106 |
* @param bool $val |
| 107 |
*/ |
| 108 |
public function setDisabled( bool $val ): void; |
| 109 |
|
| 110 |
/** |
| 111 |
* @return HTMLFormElement|null |
| 112 |
*/ |
| 113 |
public function getForm(); |
| 114 |
|
| 115 |
/** |
| 116 |
* @return string |
| 117 |
*/ |
| 118 |
public function getFormEnctype(): string; |
| 119 |
|
| 120 |
/** |
| 121 |
* @param string $val |
| 122 |
*/ |
| 123 |
public function setFormEnctype( string $val ): void; |
| 124 |
|
| 125 |
/** |
| 126 |
* @return string |
| 127 |
*/ |
| 128 |
public function getFormMethod(): string; |
| 129 |
|
| 130 |
/** |
| 131 |
* @param string $val |
| 132 |
*/ |
| 133 |
public function setFormMethod( string $val ): void; |
| 134 |
|
| 135 |
/** |
| 136 |
* @return bool |
| 137 |
*/ |
| 138 |
public function getFormNoValidate(): bool; |
| 139 |
|
| 140 |
/** |
| 141 |
* @param bool $val |
| 142 |
*/ |
| 143 |
public function setFormNoValidate( bool $val ): void; |
| 144 |
|
| 145 |
/** |
| 146 |
* @return string |
| 147 |
*/ |
| 148 |
public function getFormTarget(): string; |
| 149 |
|
| 150 |
/** |
| 151 |
* @param string $val |
| 152 |
*/ |
| 153 |
public function setFormTarget( string $val ): void; |
| 154 |
|
| 155 |
/** |
| 156 |
* @return string |
| 157 |
*/ |
| 158 |
public function getName(): string; |
| 159 |
|
| 160 |
/** |
| 161 |
* @param string $val |
| 162 |
*/ |
| 163 |
public function setName( string $val ): void; |
| 164 |
|
| 165 |
/** |
| 166 |
* @return string |
| 167 |
*/ |
| 168 |
public function getType(): string; |
| 169 |
|
| 170 |
/** |
| 171 |
* @param string $val |
| 172 |
*/ |
| 173 |
public function setType( string $val ): void; |
| 174 |
|
| 175 |
/** |
| 176 |
* @return string |
| 177 |
*/ |
| 178 |
public function getValue(): string; |
| 179 |
|
| 180 |
/** |
| 181 |
* @param string $val |
| 182 |
*/ |
| 183 |
public function setValue( string $val ): void; |
| 184 |
|
| 185 |
/** |
| 186 |
* @return bool |
| 187 |
*/ |
| 188 |
public function getWillValidate(): bool; |
| 189 |
|
| 190 |
/** |
| 191 |
* @return ValidityState |
| 192 |
*/ |
| 193 |
public function getValidity(); |
| 194 |
|
| 195 |
/** |
| 196 |
* @return string |
| 197 |
*/ |
| 198 |
public function getValidationMessage(): string; |
| 199 |
|
| 200 |
/** |
| 201 |
* @return bool |
| 202 |
*/ |
| 203 |
public function checkValidity(): bool; |
| 204 |
|
| 205 |
/** |
| 206 |
* @return bool |
| 207 |
*/ |
| 208 |
public function reportValidity(): bool; |
| 209 |
|
| 210 |
/** |
| 211 |
* @param string $error |
| 212 |
* @return void |
| 213 |
*/ |
| 214 |
public function setCustomValidity( string $error ): void; |
| 215 |
|
| 216 |
/** |
| 217 |
* @return NodeList |
| 218 |
*/ |
| 219 |
public function getLabels(); |
| 220 |
|
| 221 |
} |