Function applyStyles
- applyStyles(
node: HTMLElement,
properties: { [key: string]: string },
): ActionReturn<{ [key: string]: string }> Parameters
- node: HTMLElement
Target element
- properties: { [key: string]: string }
Hyphen case CSS property key / value object of properties to set.
Returns ActionReturn<{ [key: string]: string }>
Lifecycle functions.
- node: HTMLElement
Provides an action to apply CSS style properties provided as an object.