Rezi
Preparing search index...
core/src
removeToast
Function removeToast
removeToast
(
toasts
:
readonly
Readonly
<
{
action
?:
Readonly
<
{
label
:
string
;
onAction
:
()
=>
void
}
>
;
duration
?:
number
;
id
:
string
;
message
:
string
;
progress
?:
number
;
type
:
"error"
|
"success"
|
"warning"
|
"info"
;
}
,
>
[]
,
id
:
string
,
)
:
readonly
Readonly
<
{
action
?:
Readonly
<
{
label
:
string
;
onAction
:
()
=>
void
}
>
;
duration
?:
number
;
id
:
string
;
message
:
string
;
progress
?:
number
;
type
:
"error"
|
"success"
|
"warning"
|
"info"
;
}
,
>
[]
Remove a toast by ID.
Parameters
toasts
:
readonly
Readonly
<
{
action
?:
Readonly
<
{
label
:
string
;
onAction
:
()
=>
void
}
>
;
duration
?:
number
;
id
:
string
;
message
:
string
;
progress
?:
number
;
type
:
"error"
|
"success"
|
"warning"
|
"info"
;
}
,
>
[]
Existing toasts
id
:
string
Toast ID to remove
Returns
readonly
Readonly
<
{
action
?:
Readonly
<
{
label
:
string
;
onAction
:
()
=>
void
}
>
;
duration
?:
number
;
id
:
string
;
message
:
string
;
progress
?:
number
;
type
:
"error"
|
"success"
|
"warning"
|
"info"
;
}
,
>
[]
Updated toast list
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Rezi
Loading...
Remove a toast by ID.