Expand description
Extension methods on [EventContext] for showing and dismissing
toasts. Mirrors the EventContextFileDialogExt pattern from
teksilo-platform.
Apps use teksilo_widgets::toast::EventContextToastExt; (or
use teksilo::prelude::*; once the umbrella re-exports it) and
then call ctx.show_toast(toast) / ctx.dismiss_toast(handle)
from any handler.
Traits§
- Event
Context Toast Ext - Convenience methods on [
EventContext] for the toast system. The registry is looked up via [EventContext::app_state] — theinstall_toastextension trait registersToastRegistrythere at app boot.