Expand description
§Events
Bubba’s event system. Every interactive element supports a small set of declarative events that map directly to native Android touch/input callbacks.
§Supported Events
| Attribute | Fires when … |
|---|---|
onclick | Element is tapped / clicked |
oninput | Text input changes (per character) |
onkeypress | A key is pressed in a focused input |
onfocus | Element receives focus |
onblur | Element loses focus |
onchange | Select / checkbox value changes |
Structs§
- Bubba
Event - The raw event payload passed to every handler.
- Event
Dispatcher - Global event dispatcher — the runtime calls this when Android fires an event.
- Event
Handler - An event handler attached to a UI element.
Type Aliases§
- Callback
- A boxed, type-erased event callback.