/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { PopoverComponent } from "../popover/popover.component"; /** * Represents a callback used by the [`popover`](https://www.telerik.com/kendo-angular-ui/components/tooltips/api/popoveranchordirective#popover) property. * Returns the popover instance to display. [See example](https://www.telerik.com/kendo-angular-ui/components/tooltips/popover/configuration#popover-callback). */ export type PopoverFn = (anchor: Element) => PopoverComponent; /** * Represents a callback used by the [`templateData`](https://www.telerik.com/kendo-angular-ui/components/tooltips/api/popovercomponent#templateData) property. * Returns custom data to pass to the popover templates. [See example](https://www.telerik.com/kendo-angular-ui/components/tooltips/popover/templates#passing-data-to-templates). */ export type PopoverDataFn = (anchor: Element) => any;