addStyles
Adds the provided styles to the given element.
- Use
Object.assign()
andElementCSSInlineStyle.style
to merge the providedstyles
object into the style of the given element.
Adds the provided styles to the given element.
Object.assign()
and ElementCSSInlineStyle.style
to merge the provided styles
object into the style of the given element.