Creates a new TagStyle instance.
Optionalvalue: string | Record<string, string> | Map<string, string>The initial value of the style.
Returns the number of style properties.
The number of style properties.
Removes all style properties.
Gets a style property.
The name of the property.
The value of the property.
Checks whether the style contains a property.
The name of the property.
true if the style contains the property, otherwise false.
Removes a style property.
The name of the property.
Sets a style property.
Optionalname: stringThe name of the property.
Optionalvalue: stringThe value of the property.
Returns a string representation of the style.
A string representation of the style.
Represents the
styleattribute for an HTML tag.