Sets the opacity of the specified DOM node to the given value in %.

  • Parameters

    • node: HTMLElement | SVGElement

      DOM node to set the opacity for.

    • value: number

      Opacity in %. Possible values are between 0 and 100.

    Returns void