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

    Class ZetaEmptyState

    Empty states are used to convey there is no data is available for display. Types include No results, First use, No Data, User Cleared.

    primaryAction - Primary Action Button. Should be a zeta-button.

    secondaryAction - Secondary Action Button. Should be a zeta-button.

    illustration - Illustration to be displayed in the empty state. Should be a zeta-illustration.

    title - Title of the empty state. Should be a h4 element.

    description - Description of the empty state. Should be a p element.

    --empty-state-max-width - Max width of the empty state. Default is 375px.

    container - The container of the empty state.

    content - The content of the empty state (title, description, actions).

    actions - The container for the action buttons.

    Hierarchy

    • ContourableInterface<this> & LitElement<this>
      • ZetaEmptyState
    Index

    Other

    • Returns ZetaEmptyState

    description: string

    Description of the empty state

    • The description should be slotted in using the description slot. This property will be removed in a future release.
    rounded: boolean
    title: string

    Title of the empty state.

    • The title should be slotted in using the title slot. This property will be removed in a future release.
    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>