/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { BaseEvent } from '@progress/kendo-react-common'; import { TooltipHandle } from './Tooltip.js'; import { TooltipPosition } from './utils.js'; export interface TooltipEvent extends BaseEvent { } export interface TooltipPositionEvent extends BaseEvent { /** * The Tooltip element. Useful to get the actual `width` and `height` of rendered Tooltip. */ element: HTMLDivElement; /** * The current target element. Useful to calculate `top` and `left` position of the Tooltip element. */ targetElement: HTMLElement | null; /** * The current mouse `top` position; */ mouseTop: number; /** * The current mouse `left` position. */ mouseLeft: number; /** * The Tooltip anchor element prop. */ anchorElement?: string; /** * The Tooltip position prop. */ position?: TooltipPosition; }