Enode — API Reference
Preparing search index...
ui/src/feedback/toast-store
ToastOptions
Interface ToastOptions
Options accepted by the imperative
toast
API.
interface
ToastOptions
{
actionLabel
?:
string
;
durationMs
?:
number
;
onAction
?:
()
=>
void
;
onSecondaryAction
?:
()
=>
void
;
secondaryActionLabel
?:
string
;
}
Index
Properties
action
Label?
duration
Ms?
on
Action?
on
Secondary
Action?
secondary
Action
Label?
Properties
Optional
action
Label
actionLabel
?:
string
Optional
duration
Ms
durationMs
?:
number
Optional
on
Action
onAction
?:
()
=>
void
Optional
on
Secondary
Action
onSecondaryAction
?:
()
=>
void
Optional
secondary
Action
Label
secondaryActionLabel
?:
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
action
Label
duration
Ms
on
Action
on
Secondary
Action
secondary
Action
Label
Enode — API Reference
Loading...
Options accepted by the imperative toast API.