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

    Class ZetaInPageBanner

    Zeta in page banner component.

    In page banners display an important, succinct message, and may provide actions for users to address. Banners should be displayed at the top of the screen,below a top app bar. Only one banner should be shown at a time.

    This component represents a banner that can be displayed within a page. It can have a title, body text, and various status options.

    • The main content of the banner.

    action - The action buttons.

    close - Fired when the close icon is clicked.

    Hierarchy

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

    Other

    • Returns ZetaInPageBanner

    rounded: boolean
    status: "positive" | "negative" | "info" | "warning" | "default" = "default"

    Status of the component.

    title: string = ""

    Title of the banner, displayed at the top.

    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>