Properties
actionText
actionText: string
displayTime
displayTime: number = 4000
keepOpen
keepOpen: boolean = false
open
open: boolean = false
position
position: "top" | "bottom" | "middle" = 'bottom'
Static
styles
styles: CSSResult[] = ...
Static
Readonly
tagName
tagName: "igc-snackbar" = 'igc-snackbar'
A snackbar component is used to provide feedback about an operation by showing a brief message at the bottom of the screen.
Element
igc-snackbar
Slot
Slot
action - Renders the action part of the snackbar. Usually an interactive element (button)
Fires
igcAction - Emitted when the snackbar action button is clicked.
Csspart
base - The base wrapper of the snackbar component.
Csspart
message - The snackbar message.
Csspart
action - The default snackbar action button.
Csspart
action-container - The area holding the actions.