Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DocumentType

htmlparser2 tree adapter DocumentType interface.

Hierarchy

Index

Properties

data

data: string

Serialized doctype name, {@link publicId} and {@link systemId}.

name

name: "!doctype"

Node name.

next

next: Node

Next sibling.

nextSibling

nextSibling: Node

Same as next. DOM spec-compatible alias.

nodeType

nodeType: number

DOM spec-compatible node type.

parent

parent: ParentNode

Parent node.

parentNode

parentNode: ParentNode

Same as parent. DOM spec-compatible alias.

prev

prev: Node

Previous sibling.

previousSibling

previousSibling: Node

Same as prev. DOM spec-compatible alias.

type

type: "directive"

The type of the node.

x-name

x-name: string

Document type name.

x-publicId

x-publicId: string

Document type public identifier.

x-systemId

x-systemId: string

Document type system identifier.

Generated using TypeDoc