Package-level declarations
Functions
Link copied to clipboard
fun EventSchemaBuilderScope.TogglePopup(id: String = randomId(), trigger: EventTrigger, events: EventSchemaBuilderScope.() -> Unit = {}, popupId: String)
Flips the open/closed state of the Popup tile identified by popupId — since the tile itself only closes on dismissal, this is how a popup is opened from the server side. Does not consume incomingData. Dispatches onSuccess (no data) when the signal reached the tile; onFailure (carrying the thrown exception, logged) when no tile with popupId is currently mounted.