|
string | getHref () |
|
| setHref (string $val) |
|
string | getTarget () |
|
| setTarget (string $val) |
|
string | getTitle () |
|
| setTitle (string $val) |
|
string | getLang () |
|
| setLang (string $val) |
|
bool | getTranslate () |
|
| setTranslate (bool $val) |
|
string | getDir () |
|
| setDir (string $val) |
|
bool | getHidden () |
|
| setHidden (bool $val) |
|
void | click () |
|
string | getAccessKey () |
|
| setAccessKey (string $val) |
|
string | getAccessKeyLabel () |
|
bool | getDraggable () |
|
| setDraggable (bool $val) |
|
bool | getSpellcheck () |
|
| setSpellcheck (bool $val) |
|
string | getAutocapitalize () |
|
| setAutocapitalize (string $val) |
|
string | getInnerText () |
|
| setInnerText (?string $val) |
|
Element null | getOffsetParent () |
|
int | getOffsetTop () |
|
int | getOffsetLeft () |
|
int | getOffsetWidth () |
|
int | getOffsetHeight () |
|
string | getNamespaceURI () |
|
string | getPrefix () |
|
string | getLocalName () |
|
string | getTagName () |
|
string | getId () |
|
| setId (string $val) |
|
string | getClassName () |
|
| setClassName (string $val) |
|
DOMTokenList | getClassList () |
|
| setClassList (string $val) |
|
string | getSlot () |
|
| setSlot (string $val) |
|
bool | hasAttributes () |
|
NamedNodeMap | getAttributes () |
|
list< string > | getAttributeNames () |
|
string | getAttribute (string $qualifiedName) |
|
string | getAttributeNS (?string $namespace, string $localName) |
|
void | setAttribute (string $qualifiedName, string $value) |
|
void | setAttributeNS (?string $namespace, string $qualifiedName, string $value) |
|
void | removeAttribute (string $qualifiedName) |
|
void | removeAttributeNS (?string $namespace, string $localName) |
|
bool | toggleAttribute (string $qualifiedName, ?bool $force=null) |
|
bool | hasAttribute (string $qualifiedName) |
|
bool | hasAttributeNS (?string $namespace, string $localName) |
|
Attr null | getAttributeNode (string $qualifiedName) |
|
Attr null | getAttributeNodeNS (?string $namespace, string $localName) |
|
Attr null | setAttributeNode ($attr) |
|
Attr null | setAttributeNodeNS ($attr) |
|
Attr | removeAttributeNode ($attr) |
|
ShadowRoot | attachShadow ($init) |
|
ShadowRoot null | getShadowRoot () |
|
Wikimedia IDLeDOM Element null | closest (string $selectors) |
|
bool | matches (string $selectors) |
|
bool | webkitMatchesSelector (string $selectors) |
|
HTMLCollection | getElementsByTagName (string $qualifiedName) |
|
HTMLCollection | getElementsByTagNameNS (?string $namespace, string $localName) |
|
HTMLCollection | getElementsByClassName (string $classNames) |
|
Wikimedia IDLeDOM Element null | insertAdjacentElement (string $where, $element) |
|
void | insertAdjacentText (string $where, string $data) |
|
string | getOuterHTML () |
|
| setOuterHTML (?string $val) |
|
void | insertAdjacentHTML (string $position, string $text) |
|
void | setIdAttribute (string $qualifiedName, bool $isId) |
|
void | setIdAttributeNode ($attr, bool $isId) |
|
void | setIdAttributeNS (string $namespace, string $qualifiedName, bool $isId) |
|
int | getNodeType () |
|
string | getNodeName () |
|
string | getBaseURI () |
|
bool | getIsConnected () |
|
Document null | getOwnerDocument () |
|
Wikimedia IDLeDOM Node | getRootNode ($options=null) |
|
Node null | getParentNode () |
|
Element null | getParentElement () |
|
bool | hasChildNodes () |
|
NodeList | getChildNodes () |
|
Node null | getFirstChild () |
|
Node null | getLastChild () |
|
Node null | getPreviousSibling () |
|
Node null | getNextSibling () |
|
string | getNodeValue () |
|
| setNodeValue (?string $val) |
|
string | getTextContent () |
|
| setTextContent (?string $val) |
|
void | normalize () |
|
Wikimedia IDLeDOM Node | cloneNode (bool $deep=false) |
|
bool | isEqualNode ($otherNode) |
|
bool | isSameNode ($otherNode) |
|
int | compareDocumentPosition ($other) |
|
bool | contains ($other) |
|
string | lookupPrefix (?string $namespace) |
|
string | lookupNamespaceURI (?string $prefix) |
|
bool | isDefaultNamespace (?string $namespace) |
|
Wikimedia IDLeDOM Node | insertBefore ($node, $child=null) |
|
Wikimedia IDLeDOM Node | appendChild ($node) |
|
Wikimedia IDLeDOM Node | replaceChild ($node, $child) |
|
Wikimedia IDLeDOM Node | removeChild ($child) |
|
void | addEventListener (string $type, $callback, $options=null) |
|
void | removeEventListener (string $type, $callback, $options=null) |
|
bool | dispatchEvent ($event) |
|
void | before (... $nodes) |
|
void | after (... $nodes) |
|
void | replaceWith (... $nodes) |
|
void | remove () |
|
string | getInnerHTML () |
|
| setInnerHTML (?string $val) |
|
Element null | getPreviousElementSibling () |
|
Element null | getNextElementSibling () |
|
HTMLCollection | getChildren () |
|
Element null | getFirstElementChild () |
|
Element null | getLastElementChild () |
|
int | getChildElementCount () |
|
void | prepend (... $nodes) |
|
void | append (... $nodes) |
|
void | replaceChildren (... $nodes) |
|
Element null | querySelector (string $selectors) |
|
NodeList | querySelectorAll (string $selectors) |
|
HTMLSlotElement null | getAssignedSlot () |
|
CSSStyleDeclaration | getStyle () |
|
| setStyle (string $val) |
|
string | getContentEditable () |
|
| setContentEditable (string $val) |
|
string | getEnterKeyHint () |
|
| setEnterKeyHint (string $val) |
|
bool | getIsContentEditable () |
|
string | getInputMode () |
|
| setInputMode (string $val) |
|
Public Member Functions inherited from Wikimedia\IDLeDOM\GlobalEventHandlers |
EventHandlerNonNull callable null | getOnload () |
|
| setOnload ($val) |
|
DOMStringMap | getDataset () |
|
string | getNonce () |
|
| setNonce (string $val) |
|
int | getTabIndex () |
|
| setTabIndex (int $val) |
|
void | blur () |
|
|
const | ELEMENT_NODE = 1 |
|
const | ATTRIBUTE_NODE = 2 |
|
const | TEXT_NODE = 3 |
|
const | CDATA_SECTION_NODE = 4 |
|
const | ENTITY_REFERENCE_NODE = 5 |
|
const | ENTITY_NODE = 6 |
|
const | PROCESSING_INSTRUCTION_NODE = 7 |
|
const | COMMENT_NODE = 8 |
|
const | DOCUMENT_NODE = 9 |
|
const | DOCUMENT_TYPE_NODE = 10 |
|
const | DOCUMENT_FRAGMENT_NODE = 11 |
|
const | NOTATION_NODE = 12 |
|
const | DOCUMENT_POSITION_DISCONNECTED = 0x01 |
|
const | DOCUMENT_POSITION_PRECEDING = 0x02 |
|
const | DOCUMENT_POSITION_FOLLOWING = 0x04 |
|
const | DOCUMENT_POSITION_CONTAINS = 0x08 |
|
const | DOCUMENT_POSITION_CONTAINED_BY = 0x10 |
|
const | DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20 |
|