package js.html; typedef NodeListOf = { /** Returns the number of nodes in the collection. **/ var length : Float; /** Returns the node with index index from the collection. The nodes are sorted in tree order. **/ function item(index:Float):TNode; /** Performs the specified action for each node in an list. **/ function forEach(callbackfn:(value:TNode, key:Float, parent:NodeListOf) -> Void, ?thisArg:Dynamic):Void; /** Returns an array of key, value pairs for every entry in the list. **/ function entries():js.lib.IterableIterator>; /** Returns an list of keys in the list. **/ function keys():js.lib.IterableIterator; /** Returns an list of values in the list. **/ function values():js.lib.IterableIterator; };