Control.getCssStyle

Syntax

getCssStyle (node, styleName: String, toNumber: Boolean, noCache);

Parameters

node. DOM node for which you get the style value.

styleName. CSS property name.

toNumber. Determines if to try converting style to a numeric format. If the property is set to True the method tries converting style to a number. If the conversion failed the method returns 0.

noCache. Determines whether to cache results of getting styles for each DOM node. If the parameter is set to True, the results are cached, otherwise they are not.

Description

The getCssStyle method gets style for specified node.

Example

The example of use is given in description of the Control.addStateClass method.

Seebsp;also:

Control