Skip to main content

Dialog

Function Dialog 

Source
pub fn Dialog(_: DialogProps) -> Element
Expand description

A modal. open seeds the Renderer’s own open state and carries changes that came from somewhere other than the Renderer; the Renderer runs the enter and exit itself so the animation never round trips through the Host. on_dismiss fires when the user asks to close it, and the Host decides whether to honour that by setting open to false.

§Props

For details, see the props struct definition.