• Sets the attributes of a widget.

    Parameters

    • wgt: Widget<HTMLElement>

      the widget

    • attrs: unknown[]

      an array of [name1, value1, name2, value2, ...]

    Returns void

    Since

    9.0.1