BBjControl::toggleClass
Description
In BBj 24.00 and higher, this method toggles a CSS class name on the BBjControl.
Syntax
| Return Value | Method | 
|---|---|
| boolean | toggleClass(String className) | 
Parameters
| Parameter | Description | 
|---|---|
| className | Specifies a CSS class name to be toggled on the control. | 
Return Value
If the specified className was set on the control, this method removes it and returns false (0). If the specified className was not set on the control, this method adds it and returns true (1).

Remarks
                                            In the BUI and DWC browser clients, this corresponds to Element::classList::toggle.
Example
                                                     | 
                                                
Version History
                                            
                                            
                                            See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.