HTML element.
children:
ElementContent
[]
Children of element.
node_modules/@types/hast/index.d.ts:221
optional
content:Root
When the tagName
field is 'template'
, a content
field can be
present.
node_modules/@types/hast/index.d.ts:226
optional
data:ElementData
Data associated with the element.
node_modules/@types/hast/index.d.ts:230
optional
position:Position
Position of a node in a source document.
Nodes that are generated (not in the original source document) must not have a position.
node_modules/@types/unist/index.d.ts:103
properties:
Properties
Info associated with the element.
node_modules/@types/hast/index.d.ts:217
tagName:
string
Tag name (such as 'body'
) of the element.
node_modules/@types/hast/index.d.ts:213
type:
"element"
Node type of elements.
node_modules/@types/hast/index.d.ts:209