DisplayNavigationDrawer
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.
Parameters
id
Unique identifier of this event. Defaults to a random id.
trigger
Trigger that fires this event, built via EventTriggers.
events
Child events chained after this one, wired to its trigger (onSuccess).