Matt's DOM Utils Matt's DOM Utils (Utils)

Utils.types

Info

A module containing every documented nodeType from the DOM Level 2 Core specification. For more, see the DOM Level 2 Core section 1.2 (Fundamental Interfaces, Interface Node, nodeType).

  1. Numeric Properties

Numeric Properties

Utils.types.ELEMENT_NODE
The corresponding nodeType for all nodes implementing the Element interface (1).
Utils.types.ATTRIBUTE_NODE
The corresponding nodeType for all nodes implementing the Attr interface (2).
Utils.types.TEXT_NODE
The corresponding nodeType for all nodes implementing the Text interface (3).
Utils.types.CDATA_SECTION_NODE
The corresponding nodeType for all nodes implementing the CDATASection interface (4).
Utils.types.ENTITY_REFERENCE_NODE
The corresponding nodeType for all nodes implementing the EntityReference interface (5).
Utils.types.ENTITY_NODE
The corresponding nodeType for all nodes implementing the Entity interface (6).
Utils.types.PROCESSING_INSTRUCTION_NODE
The corresponding nodeType for all nodes implementing the ProcessingInstruction interface (7).
Utils.types.COMMENT_NODE
The corresponding nodeType for all nodes implementing the Comment interface (8).
Utils.types.DOCUMENT_NODE
The corresponding nodeType for all nodes implementing the Document interface (9).
Utils.types.DOCUMENT_TYPE_NODE
The corresponding nodeType for all nodes implementing the DocumentType interface (10).
Utils.types.DOCUMENT_FRAGMENT_NODE
The corresponding nodeType for all nodes implementing the DocumentFragment interface (11).
Utils.types.NOTATION_NODE
The corresponding nodeType for all nodes implementing the Notation interface (12).