★ Attribute() constructor
Last updated
Was this helpful?
Last updated
Was this helpful?
Attribute()
Creates a new instance with the name and value.
name: Name
The attribute name of a generic type variable Name
.
value: Value
The attribute value of a generic type variable Value
.
The return value is a new instance with the primitive value of the provided name
and value
on the template ${Name}="${Value}"
.