Snackbars provide brief messages about app processes at the bottom of the screen. Contextual snackbars provide brief messages in relation to an action that has been taken by the user.

Hierarchy

  • InteractiveInterface<this> & LitElement<this>
    • ZetaSnackbar

Other

  • Returns ZetaSnackbar

_round: boolean | "full" = "full"
_rounded: boolean = false
actionClick?: (() => void)

Function to call when the action is clicked.

() => {}
actionLabel?: string

Label of the action.

disabled: boolean
hasCloseAction: boolean = false

Whether the snackbar has a close action.

status:
    | "positive"
    | "negative"
    | "view"
    | "default"
    | "info"
    | "warning" = "default"

Status of the component.

styles: CSSResultGroup[] = ...

rendering

  • Invoked on each update to perform rendering tasks. This method may return any value renderable by lit-html's ChildPart - typically a TemplateResult. Setting properties inside this method will not trigger the element to update.

    Returns TemplateResult<1>