BBjWebManager::setDarkTheme
Description
In BBj 22.03 and higher, this method sets the name of the theme to use when a DWC application has specified the system theme option with setTheme("system") and the user has configured their system to use dark mode. This will usually be "dark", but the "dark-pure" variant is also available.
Note:
In BBj 22.03 and higher, BBjWebManager is an alias for BBjBuiManager.
Syntax
| Return Value | Method |
|---|---|
|
String |
setDarkTheme(String darkTheme) |
Parameters
None.
| Variable | Description |
|---|---|
|
darkTheme |
Specifies a DWC theme name ("light", "dark", or "dark-pure") |
Return Value
None.
Remarks
Themes are only meaningful in the DWC client.
Example
|
Version History
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.