Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Element

Default tree adapter Element interface.

Hierarchy

Index

Properties

Optional ___location

___location: ElementLocation

Element source code location info. Available if location info is enabled via Options.ParserOptions.

attrs

attrs: Attribute[]

List of element attributes.

childNodes

childNodes: Node[]

Child nodes.

namespaceURI

namespaceURI: string

Element namespace.

nodeName

nodeName: string

The name of the node. Equals to element tagName.

parentNode

parentNode: ParentNode

Parent node.

tagName

tagName: string

Element tag name.

Generated using TypeDoc