class js.html.Document extends Node

Available on all platforms

Instance Fields

function new():Void

function adoptNode(node:Node):Node

function createAttribute(name:String):Attr

function createAttributeNS(namespace_:String, name:String):Attr

function createElement(localName:String, typeExtension:String):Element

function createElement(localName:String):Element

function createElementNS(namespace_:String, qualifiedName:String, typeExtension:String):Element

function createElementNS(namespace_:String, qualifiedName:String):Element

function createEvent(interface_:String):Event

function createNSResolver(nodeResolver:Node):Node

function createNodeIterator(root:Node, ?whatToShow:Int = '???', ?filter:NodeFilter):NodeIterator

function createRange():Range

function createTextNode(data:String):Text

function createTouch(?view:Window, ?target:EventTarget, ?identifier:Int = 0, ?pageX:Int = 0, ?pageY:Int = 0, ?screenX:Int = 0, ?screenY:Int = 0, ?clientX:Int = 0, ?clientY:Int = 0, ?radiusX:Int = 0, ?radiusY:Int = 0, ?rotationAngle:Float = 0.0, ?force:Float = 0.0):Touch

function createTouchList(touches:Array<Touch>):TouchList

function createTouchList(touch:Touch, touches:Rest<Touch>):TouchList

function createTouchList():TouchList

function createTreeWalker(root:Node, ?whatToShow:Int = &apos;???&apos;, ?filter:NodeFilter):TreeWalker

function evaluate(expression:String, contextNode:Node, resolver:XPathNSResolver, type:Int, result:Dynamic):XPathResult

function exitFullscreen():Void

function getElementById(elementId:String):Element

function getElementsByTagNameNS(namespace_:String, localName:String):HTMLCollection

function hasFocus():Bool

function importNode(node:Node, ?deep:Bool = false):Node

function querySelector(selectors:String):Element

function querySelectorAll(selectors:String):NodeList

function releaseCapture():Void