Allows authors to fix device specific issues with setting styles on an element.
All the methods expect or return the camelized versions of the property name, not the standard CSS hyphenated names. For example, backgroundColor not background-color.
cf2:dom.Element - enhances
This component adds the following methods to the V$.dom.Element's prototype object.
Sets the styles of the selected element.
Parameter | Description | Type |
---|---|---|
styles | The map of the properties to set on the selected element. | Map |
Returns the value of the specified style property set on the selected element.
Parameter | Description | Type |
---|---|---|
property | The name of the style property which value is to be returned. | String |