• Get the value of a computed style property for the first element in the set of matched elements or set one or more CSS properties for every matched element

    Parameters

    Returns string | number

  • Get the value of a computed style property for the first element in the set of matched elements or set one or more CSS properties for every matched element

    Parameters

    • element: HTMLElement
    • key: string | IStyle

      An object of property-value pairs to set. A CSS property name.

    Returns string | number

  • Get the value of a computed style property for the first element in the set of matched elements or set one or more CSS properties for every matched element

    Parameters

    • element: HTMLElement
    • key: string | IStyle

      An object of property-value pairs to set. A CSS property name.

    • value: StyleValue

      A value to set for the property.

    Returns string | number

  • Get the value of a computed style property for the first element in the set of matched elements or set one or more CSS properties for every matched element

    Parameters

    • element: HTMLElement
    • key: string | IStyle

      An object of property-value pairs to set. A CSS property name.

    • onlyStyleMode: boolean

      Get value from style attribute, without calculating

    Returns string | number

Jodit PRO

If you like Jodit - try Jodit PRO