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
-
<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;
-
<static> setOpacity()
-
Cross browser way of setting opacity