vira - v33.8.0
    Preparing search index...

    Class TooltipDirective

    The directive class behind tooltip.

    Hierarchy

    • AsyncDirective
      • TooltipDirective
    Index
    content: HtmlInterpolation
    popoverManager: PopoverManager = ...
    tooltipElement:
        | DeclarativeElementHost<
            "vira-tooltip",
            { anchor: HTMLElement },
            {},
            {},
            "vira-tooltip-",
            "vira-tooltip-",
            readonly [],
            readonly [],
        >
        | undefined

    Only exists while the tooltip is shown.

    • Creates a new ViraTooltip after anchor, replacing any previous one.

      Parameters

      • anchor: HTMLElement

      Returns DeclarativeElementHost<
          "vira-tooltip",
          { anchor: HTMLElement },
          {},
          {},
          "vira-tooltip-",
          "vira-tooltip-",
          readonly [],
          readonly [],
      >

    • User callbacks for implementing logic to release any resources/subscriptions that may have been retained by this directive. Since directives may also be re-connected, reconnected should also be implemented to restore the working state of the directive prior to the next render.

      Returns void