DomElementInfo
Properties
cls
cls: string | string[]
The class to be assigned. Can be a space-separated string or an array of strings.
text
text: string | DocumentFragment
The textContent to be assigned.
attr
attr: { [key: string]: string | number | boolean; }
HTML attributes to be added.
title
title: string
HTML title (for hover tooltip).
parent
parent: Node
The parent element to be assigned to.
value
value: string
type
type: string
prepend
prepend: boolean
placeholder
placeholder: string
href
href: string