Class BaseTooltipController<W, C, O>Abstract

Controls the visibility of a tooltip container (such as TooltipContainer). Used for implementing tooltips, such as in Tooltip, or to implement tooltip-like functionality, such as dropdowns or context menus.

Type Parameters

Hierarchy (view full)

Constructors

Properties

layer: null | Layer<C> = null

The currently created layer for the Tooltip#tooltipWidget

tooltipContainer: C
tooltipWrapper: W
topLayeredContainer: null | LayeredContainer<Widget> = null

The top-most container in the current UI tree

Accessors

Methods

  • Clear the top-most layered container. You must call this when the wrapper widget is detached from a parent.

    Removes the current layer if there is any.

    Returns void