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

    Class ZetaTag

    Tags are used to draw attention to a specific area or information. The arrow shape helps direct the users attention to the desired place.

    Hierarchy

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

    Other

    • Returns ZetaTag

    direction: "left" | "right" = "right"

    Direction of the tag point.

    label?: string

    Text displayed in the tag.

    Currently, it is best to use this property instead of the slot, as the slot does not provide an aria label.

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

    updates

    • Invoked whenever the element is updated. Implement to perform post-updating tasks via DOM APIs, for example, focusing an element.

      Setting properties inside this method will trigger the element to update again after this update cycle completes.

      Returns void