setBackgrounds()
Sets the background colors for page and modal shader elements.
setBackgrounds(
pageBackground?: UIColor.BackgroundType,
modalBackground?: UIColor.BackgroundType,
): void;
Note
Prefer using WebTheme.pageBackground and WebTheme.modalShadeBackground to configure these as part of a theme.
Parameters
- pageBackground — Background color for page/screen mounts (defaults to “background”)
- modalBackground — Background color for modal shade (defaults to pageBackground)
Related
class WebRenderer
A renderer class that uses the DOM to render UI elements.
