Package-level declarations
Functions
Link copied to clipboard
fun EventSchemaBuilderScope.DismissNavigationDrawer(id: String = randomId(), trigger: EventTrigger, events: EventSchemaBuilderScope.() -> Unit = {})
Closes the screen's navigation drawer, by broadcasting a close command on the screen channel. Does not consume incomingData. Dispatches onSuccess (no data) always, right after the command is broadcast — the broadcast is fire-and-forget, so this fires even when no drawer is open.
Link copied to clipboard
fun EventSchemaBuilderScope.DisplayNavigationDrawer(id: String = randomId(), trigger: EventTrigger, events: EventSchemaBuilderScope.() -> Unit = {})
Opens the screen's navigation drawer, by broadcasting an open command on the screen channel. The drawer content is declared on the screen itself, so this event carries no parameters and there is only ever one drawer per screen. Does not consume incomingData. Dispatches onSuccess (no data) always, right after the command is broadcast — the broadcast is fire-and-forget, so this fires even when the screen declares no drawer.