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.

Hierarchy

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

Other

  • Returns ZetaInPageBanner

rounded: boolean
status:
    | "positive"
    | "negative"
    | "default"
    | "info"
    | "warning" = "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>