david-swift 36e61255f8 Add support for toasts
Add the new concept of signals
2023-11-30 21:14:45 +01:00

24 lines
304 B
Markdown

**STRUCT**
# `Signal`
A type that signalizes an action.
## Properties
### `boolean`
An action is signalized by toggling a boolean to `true` and back to `false`.
### `update`
Whether the action has caused an update.
## Methods
### `init()`
Initialize a signal.
### `signal()`
Activate a signal.