Optional
attribName?: stringOptional
cssProperty?: stringIf set, this CSS property is set, Eg 'background-color'
Optional
cssVariable?: stringIf set, this CSS variable is set, Eg 'hue' (sets '--hue')
Optional
elField?: stringIf set, this DOM element field is set. Eg 'textContent'
Optional
htmlContent?: booleanIf true innerHTML
is set (a shortcut for elField:innerHTML
)
Optional
textContent?: booleanIf true, 'textContent' is set (a shortcut for elField:'textContext')
If set, this DOM attribute is set, Eg 'width'