class js.html.Node extends EventTarget

Available on js

A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.
The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document , Element , Attr , CharacterData (which Text , Comment , and CDATASection inherit), ProcessingInstruction , DocumentFragment , DocumentType , Notation , Entity , EntityReference

Documentation for this class was provided by MDN.

Class Fields

static var ATTRIBUTE_NODE:Int

static var COMMENT_NODE:Int

static var DOCUMENT_NODE:Int

static var ELEMENT_NODE:Int

static var ENTITY_NODE:Int

static var NOTATION_NODE:Int

static var TEXT_NODE:Int

Instance Fields

var nodeValue:String

Setter throws DOMException.

var prefix:String

Setter throws DOMException.

var textContent:String

Setter throws DOMException.

function appendChild(newChild:Node):Node

function cloneNode(deep:Bool):Node

function contains(other:Node):Bool

function hasAttributes():Bool

function hasChildNodes():Bool

function insertBefore(newChild:Node, refChild:Node):Node

function isDefaultNamespace(?namespaceURI:String):Bool

function isEqualNode(other:Node):Bool

function isSameNode(other:Node):Bool

function isSupported(feature:String, ?version:String):Bool

function lookupNamespaceURI(?prefix:String):String

function lookupPrefix(?namespaceURI:String):String

function normalize():Void

function removeChild(oldChild:Node):Node

function replaceChild(newChild:Node, oldChild:Node):Node