:: Home >>

getStyle

Returns the value of the CSS style attribute.

Syntax

var value = obj.getStyle(name);

Parameters

name (string) - style name

Returns

current value of style attribute

Example

var color = obj.getStyle("color");

Remarks

This method returns only styles set by AW setStyle() method.

See also

setStyle() method

Comments

No comments yet.
Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5