BBjPopupMenu::toggleClass
Description
In BBj 24.00 and higher, this method toggles a CSS class name on the BBjPopupMenu.
Syntax
| Return Value | Method |
|---|---|
|
boolean |
toggleClass(string className) |
Parameters
| Variable | Description |
|---|---|
|
className |
Specifies a CSS class name to be toggled on the control. |
Return Value
If the specified className was set on the popup menu, this method removes it and returns false. If the specified className was not set on the popup menu, this method adds it and returns true.
Remarks
In the BUI and DWC browser clients, this corresponds to Element::classList::toggle.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.