@flameui/styles
v0.0.2
Published
Utilities for HTML Style
Readme
@flameui/styles
Installation
npm i -g @flameui/stylesOR
yarn add @flameui/stylesFunctions
function applyStyle<Element extends HTMLElement>(element: Element, styles: HTMLStyle, remove = true): ElementThis function applies the style properties specified in the styles object to element.style.
If the remove parameter is set to true, style properties with undefined or null values will be removed from element.style.
