Element
Hierarchy
- Node
- Element
Index
Constructors
Properties
Accessors
Constructors
constructor
Parameters
name: string
attributes: NodeAttribute[]
children: Node[] = []
type: Script | Style | Tag = ...
Returns Element
Properties
publicattributes
children
close
loc
publicname
open
parent
optionalx-attribsNamespace
optionalx-attribsPrefix
Accessors
tagName
Returns string
Parameters
name: string
Returns void
An element within the DOM.