Skip to main contentModule prelude
Source - view
- Declare a screen’s UI declaratively using JSX-like syntax.
- BubbaEvent
- The raw event payload passed to every handler.
- Element
- The fundamental UI node. Every tag in a
view! block becomes one of these. - EventHandler
- An event handler attached to a UI element.
- NavigationStack
- The global navigation stack.
- Runtime
- The Bubba runtime instance. One per application process.
- Screen
- A rendered screen — the return type of every screen function.
- StyleSheet
- A parsed CSS stylesheet.
- alert
- Show a native alert dialog.
- log
- Log a message (maps to
android.util.Log.d on device). - navigate
- Navigate to a screen by pushing it onto the global stack.
- spawn
- Spawn a future on the Bubba async executor.
This is the free function form used inside event handlers.