david-swift 4937c36b3b Improve updating performance
And update docs reflecting the changes in the latest commits
2024-01-27 08:07:05 +01:00

20 lines
339 B
Markdown

**EXTENSION**
# `Banner`
## Methods
### `init(_:visible:)`
Initialize a text widget.
- Parameters:
- title: The content.
- visible: Whether the banner is visible.
### `button(_:handler:)`
Configure the banner's button.
- Parameters:
- label: The button's title.
- handler: The button's handler.
- Returns: The banner.