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