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: