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

    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.