<conditional>
ContentWallpaper
Conditionally render children based on an expression result.
Example
<conditional when="{sys:battery | lte:20}"><text color="#FF0000">Low battery!</text></conditional>Attributes
| Name | Type | Default | Description |
|---|---|---|---|
when | String | — | Expression that evaluates to true/false |
overlayVisible | Boolean | false | Keep this element visible when the widget renders in overlay mode (default: hidden, the wallpaper draws it) |