summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/NodeIterator.idl
blob: b46a41ff45019b943de53f99185ee5a27d55254e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#import <DOM/Node.idl>
#import <DOM/NodeFilter.idl>

[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();

};