Control.hasClass

Syntax

hasClass (value);

Parameters

value. Name of the CSS class.

Description

The hasClass method determines whether specified CSS class is set for the root DOM node of the control.

Comments

The method returns True if class is set, otherwise it returns False.

Example

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

See also:

Control