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