@snackbar/core
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Snackbar
constructor
el
message
options
timeout
Id
visibility
Timeout
Id
wrapper
theme
destroy
expand
get
Wrapper
insert
stack
start
Timer
stop
Timer
toggle
Visibility
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
Hierarchy
Snackbar
Index
Constructors
constructor
Properties
el
message
options
timeout
Id
visibility
Timeout
Id
wrapper
Accessors
theme
Methods
destroy
expand
get
Wrapper
insert
stack
start
Timer
stop
Timer
toggle
Visibility
Constructors
constructor
new
Snackbar
(
message
:
Message
, options
?:
SnackOptions
)
:
Snackbar
Parameters
message:
Message
Default value
options:
SnackOptions
= {}
Returns
Snackbar
Properties
Optional
el
el
:
HTMLDivElement
The snackbar element
message
message
:
Message
options
options
:
SnackInstanceOptions
Private
Optional
timeout
Id
timeout
Id
:
undefined
|
number
Private
Optional
visibility
Timeout
Id
visibility
Timeout
Id
:
undefined
|
number
wrapper
wrapper
:
HTMLDivElement
Accessors
theme
get
theme
(
)
:
ThemeRules
Returns
ThemeRules
Methods
destroy
destroy
(
)
:
Promise
<
void
>
Destory the snackbar
Returns
Promise
<
void
>
expand
expand
(
)
:
void
Returns
void
get
Wrapper
get
Wrapper
(
position
:
Position
)
:
HTMLDivElement
Parameters
position:
Position
Returns
HTMLDivElement
insert
insert
(
)
:
void
Returns
void
stack
stack
(
)
:
void
Returns
void
start
Timer
start
Timer
(
)
:
void
Returns
void
stop
Timer
stop
Timer
(
)
:
void
Returns
void
toggle
Visibility
toggle
Visibility
(
el
:
HTMLDivElement
, hidden
:
boolean
)
:
void
Parameters
el:
HTMLDivElement
hidden:
boolean
Returns
void
Generated using
TypeDoc
The snackbar element