toastRemove
Remove a previously added toast.
Only valid between Window.beginand Window.end.
Parameters
- id:Id
- Id
Source
Implementation
pub fn toastRemove(id: Id) void {
const cw = currentWindow();
cw.toasts.remove(id);
refresh(null, @src(), id);
}