Dojo NG is being built in the open, one section at a time — follow along on Heptapod.

API REFERENCE · OVERLAYS

<dj-snackbar>

A toast. open shows it; type success/error tints; slots: default (message), actions.

Try it in the playground

@dojo-ng/snackbar · v0.1.2

npm install @dojo-ng/snackbar

import "@dojo-ng/snackbar";

Properties

PropertyAttributeTypeDefault
open open boolean false
type type "success""error" None
leading leading boolean false
stacked stacked boolean false

Slots

Default slotactions

CSS custom properties

PropertyDefaultDescription
--dj-snackbar-z-index960Stacking order of the snackbar.