BBjWebManager::setStyle
Description
In BBj 23.00 and higher, this method sets a CSS style on one or more elements on the web page.
Note:
In BBj 22.03 and higher, BBjWebManager is an alias for BBjBuiManager.
Syntax
Return Value | Method |
---|---|
void | setStyle(String property, String value) |
void | setStyle(String property, String value, String selector) |
Parameters
Parameter | Description |
---|---|
property | Specifies the CSS property to be set on the web page. |
value | Specifies the value of that CSS property. |
selector | By default, setStyle applies to the document element on the web page. If a selector is specified, it selects one or more descendant elements within the document to set this CSS property. If a specified selector doesn't return any elements, the document element is used. |
Return Value
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.