ladybird/Userland/Libraries/LibWeb/DOM/Node.idl

16 lines
488 B
Text

interface Node : EventTarget {
readonly attribute DOMString nodeName;
readonly attribute Node? firstChild;
readonly attribute Node? lastChild;
readonly attribute Node? previousSibling;
readonly attribute Node? nextSibling;
readonly attribute Node? parentNode;
readonly attribute Element? parentElement;
attribute DOMString textContent;
Node appendChild(Node node);
Node insertBefore(Node node, Node? child);
Node removeChild(Node child);
};