1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 16:05:06 +00:00
serenity/Libraries/LibWeb/DOM/Element.idl
2020-10-22 15:24:42 +02:00

18 lines
617 B
Text

interface Element : Node {
readonly attribute DOMString? namespaceURI;
readonly attribute DOMString tagName;
DOMString? getAttribute(DOMString qualifiedName);
void setAttribute(DOMString qualifiedName, DOMString value);
Element? querySelector(DOMString selectors);
ArrayFromVector querySelectorAll(DOMString selectors);
attribute DOMString innerHTML;
attribute DOMString innerText;
[Reflect] attribute DOMString id;
[Reflect=class] attribute DOMString className;
readonly attribute Element? nextElementSibling;
readonly attribute Element? previousElementSibling;
}