Class: TooltipPresenter

TooltipPresenter(storageKeeper)

Manages tooltip display and user preferences for help tooltips. Handles initialization, user preference storage, and tooltip lifecycle management using Tippy.js for accessible tooltip display.

Constructor

new TooltipPresenter(storageKeeper)

Create a new tooltip presenter.
Parameters:
Name Type Description
storageKeeper LocalStorageKeeper Storage manager for user preferences
Source:

Methods

initialize()

Initialize the tooltip system. Sets up preference controls and creates tooltips if enabled.
Source:

isEnabled() → {boolean}

Get current tooltip enabled state.
Source:
Returns:
Whether tooltips are currently enabled
Type
boolean

setEnabled(enabled)

Toggle tooltip visibility.
Parameters:
Name Type Description
enabled boolean Whether tooltips should be shown
Source: