Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_dom/src/api.ts>NodeType

Browser DOM & HTML parser in Deno
Very Popular
Go to Latest
enum NodeType
Re-export
import { NodeType } from "https://deno.land/x/deno_dom@v0.1.40/src/api.ts";

Members

ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3