Package-level declarations
Functions
Link copied to clipboard
fun EventSchemaBuilderScope.DismissDialog(id: String = randomId(), trigger: EventTrigger, events: EventSchemaBuilderScope.() -> Unit = {}, dialogId: String)
Link copied to clipboard
fun EventSchemaBuilderScope.DisplayDialog(id: String = randomId(), trigger: EventTrigger, events: EventSchemaBuilderScope.() -> Unit = {}, dialogId: String, isCancellable: Boolean = true, usePlatformDefaultWidth: Boolean = false, tiles: TileSchemaBuilderScope.() -> Unit)
Shows a dialog built from tiles, registered under dialogId so a later DismissDialog can close it. isCancellable decides whether the user can dismiss it with the back gesture or a scrim tap, and usePlatformDefaultWidth whether the dialog keeps the platform's default width or sizes itself from its content. Does not consume incomingData. Dispatches onSuccess (no data) when the dialog was added; onFailure (carrying the thrown exception) when it could not be added, typically because dialogId is already in use; onDisplay once, when the dialog actually enters composition on screen.