• Sets the attribute of a widget.

    Parameters

    • wgt: undefined | Widget<HTMLElement>

      the widget

    • name: string

      the name of the attribute

    • value: unknown

      the value of the attribute.

    Returns void