Class ZetaNotificationIndicator

Indicator with primary blue background and text / number foreground.

Hierarchy (view full)

Other

icon: ZetaIconName = "star"

Icon to be shown on icon type indicator.

Full list of icons can be found at Zeta Icons.

inverse: boolean = false

Whether indicator is to be on an inverse background.

Adds an inverse color border to the indicator.

rounded: boolean
size: "small" | "medium" | "large"
type: "icon" | "notification" = "notification"

Whether to render as a notification or icon indicator.

value: string | boolean = false
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>