Namespace: style

hui. style

Source:

Methods


<static> copy(source, target, styles)

Copy the style from one element to another

Parameters:
Name Type Description
source

The element to copy from

target

The element to copy to

styles

An array of properties to copy

Source:

<static> get(element, style)

Get the computed style of an element

Parameters:
Name Type Description
element Element

The element

style String

The CSS property in the form font-size NOT fontSize;

Source:

<static> setOpacity()

Cross browser way of setting opacity

Source: