Tooltips display informative text when users hover over, focus on, or tap an element.

Hierarchy

  • ContourableInterface<this> & LitElement<this>
    • ZetaTooltip

Other

  • Returns ZetaTooltip

label?: string

Text content of the tooltip.

point:
    | "left"
    | "right"
    | "bottom"
    | "top" = "bottom"

Position of the tooltip.

rounded: boolean
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>