Element.addAttribute

Adds an attribute to the html element.

class Element
final
void
addAttribute
(
T
)
(
string name
,)

Parameters

name string

The name of the attribute to add.

value T

The value of the attribute.

Meta