Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TooltipManager

Hierarchy

  • TooltipManager

Index

Constructors

constructor

  • Returns TooltipManager

Properties

Readonly tooltipMainWrapper

tooltipMainWrapper: Component

Readonly tooltipMouseWrapper

tooltipMouseWrapper: Component

Readonly tooltipWrapper

tooltipWrapper: Component

Methods

disable

  • disable(disabler: any): this
  • Disables tooltips. Note: Multiple things can cause tooltips to be disabled simultaneously; tooltips won't be re-enabled until every disabler has been removed via enable(disabler).

    Parameters

    • disabler: any

    Returns this

enable

  • enable(disabler: any): this
  • Removes the given tooltip disabler. Note: Multiple things can cause tooltips to be disabled simultaneously; tooltips won't be re-enabled until every disabler has been removed.

    Parameters

    • disabler: any

    Returns this

hide

  • hide(host?: undefined | HTMLElement): void
  • Parameters

    • Default value host: undefined | HTMLElement = this.current?.host

    Returns void

Protected onInterrupt

  • onInterrupt(): void
  • Returns void

Protected onInterruptClose

  • onInterruptClose(): void
  • Returns void

Protected onMove

  • onMove(_: any, position: Vector2): void
  • Parameters

    Returns void

Protected onScreenResize

  • onScreenResize(): void
  • Returns void

show

  • show(host: HTMLElement): Tooltip | undefined
  • Parameters

    • host: HTMLElement

    Returns Tooltip | undefined

Generated using TypeDoc