Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IElementNode

Hierarchy

Index

Properties

attributes

attributes: Record<string, undefined | null | string>

The mapping from the attribute name to its value. If value of the attribute was omitted and name is followed by "=" char like foo= then null. If value is omitted and name isn't followed by a "=" char like foo then undefined.

children

children: INode[]

The list of node children.

end

end: number

The index where the node ends.

nodeType

nodeType: ELEMENT

The type of the node.

parent

parent: null | IContainerNode

The parent of the node.

selfClosing

selfClosing: boolean

If true then the element was represented as a self-closing tag in the source.

see

IStartTagToken.selfClosing

start

start: number

The index where the node starts.

tagName

tagName: string

The name of element tag.

see

IStartTagToken.name

Generated using TypeDoc