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
359 B
Markdown

**EXTENSION**
# `ToastOverlay`
## Methods
### `init(_:signal:)`
Initialize a toast overlay.
- Parameters:
- title: The toast's title.
- signal: The signal for adding a toast.
### `action(button:handler:)`
Add an action button to the toast.
- Parameters:
- button: The button's label.
- handler: The handler.
- Returns: The toast overlay.