Home > widget-integration > FilterController > handleTooltip

FilterController.handleTooltip() method

Initializes tooltip functionality for product items.

Sets up mouseenter/mouseleave event listeners to show/hide tooltips and adjusts their positioning.

Signature:

protected handleTooltip(): void;

Returns:

void

Example

Override to customize tooltip behavior:

protected handleTooltip(): void {
  super.handleTooltip();
  // Add custom tooltip animations
  document.querySelectorAll('.boost-sd__tooltip').forEach(tooltip => {
    tooltip.classList.add('custom-animation');
  });
}