Snackbar
The v-snackbar
component is used to display a quick message to a user. Snackbars support positioning, removal delay and callbacks.
Usage
The standard snackbar is useful for calling attention to some function that has just happened.
API
Position the element absolutely
Makes snackbar height dynamic
Align the component towards the bottom
Applies specified color to the control - it can be the name of material color (for example success
or purple
) or css color (#033
or rgba(255, 0, 0, 0.5)
)
Align the component towards the left
Makes the snackbar higher (mobile)
Align the component towards the right
Time (in milliseconds) to wait until snackbar is automatically hidden. Use 0 to keep open indefinitely.
Align the content towards the top
Controls visibility
Stacks snackbar content vertically (mobile)