Convenience function to set multiple style properties at once as an object that maps key-value pairs.
Sets a single style property with the given name and optionally reactive value. Overriding an existing property discards the previous one.
The value may be a string or a number, which is converted to a string for you. For spatial properties (e.g. margin, padding,...) an object with the shape ExtendedSpacingProperties may also be used. For gap, this is restricted to BasicSpacingProperties.
To remove a property, set it to ''
, null
or undefined
.
Subclass of ElementTag that allows setting CSS properties.