Type Alias DomBindValueTarget

DomBindValueTarget: {
    attribName?: string;
    cssProperty?: string;
    cssVariable?: string;
    elField?: string;
    htmlContent?: boolean;
    textContent?: boolean;
}

Type declaration

  • OptionalattribName?: string

    If set, this DOM attribute is set, Eg 'width'

  • OptionalcssProperty?: string

    If set, this CSS property is set, Eg 'background-color'

  • OptionalcssVariable?: string

    If set, this CSS variable is set, Eg 'hue' (sets '--hue')

  • OptionalelField?: string

    If set, this DOM element field is set. Eg 'textContent'

  • OptionalhtmlContent?: boolean

    If true innerHTML is set (a shortcut for elField:innerHTML)

  • OptionaltextContent?: boolean

    If true, 'textContent' is set (a shortcut for elField:'textContext')