charton API / @chart-on/ui / index / ToastStackHandle
Interface: ToastStackHandle
Defined in: ui/src/toasts.ts:8
Returned by createToastStack: the stack's element and the toasts on screen, plus dismissAll and destroy.
Properties
el
readonlyel:HTMLElement
Defined in: ui/src/toasts.ts:10
The stack over the chart (.pc-toasts).
toasts
readonlytoasts: readonlyHTMLElement[]
Defined in: ui/src/toasts.ts:12
Toasts on screen, oldest first.
Methods
destroy()
destroy():
void
Defined in: ui/src/toasts.ts:15
Returns
void
dismissAll()
dismissAll():
void
Defined in: ui/src/toasts.ts:14
Remove every toast.
Returns
void