ladybird/Userland/Libraries/LibWeb/DOM/NodeIterator.idl
2023-10-25 19:45:41 +02:00

19 lines
470 B
Text

#import <DOM/Node.idl>
#import <DOM/NodeFilter.idl>
// https://dom.spec.whatwg.org/#interface-nodeiterator
[Exposed=Window]
interface NodeIterator {
[SameObject] readonly attribute Node root;
readonly attribute Node referenceNode;
readonly attribute boolean pointerBeforeReferenceNode;
readonly attribute unsigned long whatToShow;
readonly attribute NodeFilter? filter;
Node? nextNode();
Node? previousNode();
undefined detach();
};