Control.getCssStyle

Syntax

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

Parameters

node. The DOM node, for which style value should be obtained.

styleName. CSS property name.

toNumber. Indicates whether style is converted to number format.

noCache. Indicates whether results of getting styles for each DOM node are cached.

Description

The getCssStyle method gets style for specified node.

Comments

Available values of the toNumber parameter:

Available values of the noCache parameter:

Example

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

See also:

Control