API REFERENCE · OVERLAYS
<dj-snackbar>
A toast. open shows it; type success/error tints; slots: default (message), actions.
npm install @dojo-ng/snackbar
import "@dojo-ng/snackbar";
Properties
| Property | Attribute | Type | Default |
|---|---|---|---|
open |
open |
boolean |
false |
type |
type |
"success""error" |
None |
leading |
leading |
boolean |
false |
stacked |
stacked |
boolean |
false |
Slots
Default slotactions
CSS custom properties
| Property | Default | Description |
|---|---|---|
--dj-snackbar-z-index | 960 | Stacking order of the snackbar. |