• Provides an action to apply CSS style properties provided as an object.

    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.