@zebra-fed/zeta-web
    Preparing search index...

    Class ZetaSnackbar

    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
    Index

    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" | "info" | "warning" | "default" = "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>