Interface for objects that support modifying their display style.
public function animate(styleProps:Object):Object
Animates css properties.
Parameters
| styleProps:Object — and object containing the properties to be animated. The propertis contained by this
object are added, if a specific object already exists it's overwritten.
|
Returns
| Object — the style props after setting the new properties
|
public function css(styleProps:Object = null):Object
Sets/adds css style properties.
Parameters
| styleProps:Object (default = null ) — and object containing the new properties. The propertis contained by this
object are added, if a specific object already exists it's overwritten. If the parameter is not specified
returns the current style properties.
|
Returns
| Object — the style props after setting the new properties
|