Edit this page

up.element up.element.setStyle(element, props)
JavaScript function

Sets the given CSS properties as inline styles on the given element.


Parameters

element Element
props Object

One or more CSS properties with kebab-case keys or camelCase keys.

Return value

stringorObject