T
ToastHandle
A handle returned when showing a toast, used to update or close it.
type ToastHandle = { … }Members
close
() => voidPlays the toast's exit animation, then removes it.
update
(options: Partial<ToastOptions>) => voidMerges options into the shown toast. Does nothing once the toast is gone.