Crate gloo_dialogs

source ·
Expand description

This crate provides wrapper for alert, prompt and confirm functions. web-sys provides a raw API which is hard to use. This crate provides an easy-to-use, idiomatic Rust API for these functions.

See the documentation for alert, prompt and confirm for more information.


  • Calls the alert function.
  • Calls the confirm function.
  • Calls the prompt function.