@snackbar/core
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Snackbar
Action
Snack
Instance
Options
Snack
Options
Snack
Result
Theme
Rules
Action
Callback
Message
Position
create
Snackbar
destroy
All
Snackbars
get
Animation
Event
instance
Stack
Status
instances
themes
Index
Classes
Snackbar
Interfaces
Action
Snack
Instance
Options
Snack
Options
Snack
Result
Theme
Rules
Type aliases
Action
Callback
Message
Position
Functions
create
Snackbar
destroy
All
Snackbars
get
Animation
Event
Object literals
instance
Stack
Status
instances
themes
Type aliases
Action
Callback
Action
Callback
:
(
button
:
HTMLButtonElement
, snackbar
:
Snackbar
)
=>
void
Type declaration
(
button
:
HTMLButtonElement
, snackbar
:
Snackbar
)
:
void
Parameters
button:
HTMLButtonElement
snackbar:
Snackbar
Returns
void
Message
Message
:
string
|
HTMLElement
Position
Position
:
"left"
|
"center"
|
"right"
Functions
create
Snackbar
create
Snackbar
(
message
:
Message
, options
?:
SnackOptions
)
:
Snackbar
Parameters
message:
Message
Optional
options:
SnackOptions
Returns
Snackbar
destroy
All
Snackbars
destroy
All
Snackbars
(
)
:
Promise
<
void
[]
>
Returns
Promise
<
void
[]
>
get
Animation
Event
get
Animation
Event
(
el
:
HTMLDivElement
)
:
string
|
undefined
Parameters
el:
HTMLDivElement
Returns
string
|
undefined
Object literals
Let
instance
Stack
Status
instance
Stack
Status
:
object
center
center
:
true
= true
left
left
:
true
= true
right
right
:
true
= true
Let
instances
instances
:
object
center
center
:
never
[]
= []
left
left
:
never
[]
= []
right
right
:
never
[]
= []
Const
themes
themes
:
object
dark
dark
:
{}
Type declaration
light
light
:
object
action
Color
action
Color
:
string
= "#008000"
background
Color
background
Color
:
string
= "#fff"
text
Color
text
Color
:
string
= "#000"
Generated using
TypeDoc