New to Kendo UI for VueStart a free 30-day trial

TooltipProps

Interface

Represents the props of the Kendo UI for Vue Tooltip component.

Definition

Package:@progress/kendo-vue-tooltip

Properties

Sets the anchor element of the Tooltip.

The available options are:

  • (Default) pointer—Shows a Tooltip where the cursor is located.
  • target—Positions the Tooltip based on the anchor element.

appendTo?

HTMLElement

Defines the container to which the Tooltip will be appended. Defaults to body.

Sets a class of the Tooltip animation container.

Sets the content of the Tooltip (see example).

filter?

(target: HTMLElement) => void

Represents a callback function which determines if a Tooltip will be displayed (see example).

Parameters:targetHTMLElement

onClose?

(event: TooltipEvent) => void

Fires when the Tooltip is hidden.

Parameters:eventTooltipEvent

onOpen?

(event: TooltipEvent) => void

Fires when the Tooltip is shown.

Parameters:eventTooltipEvent

open?

boolean

Specifies if the Tooltip will be open. Sets the Tooltip in its controlled mode (see example). Requires you to set the targetElement property.

Sets a delay in milliseconds.

If any of the parent elements has a title, displays a Tooltip.

position?

String | TooltipPosition

Sets the position of the Tooltip (see example).

The available options are:

  • (Default) auto—Positions the Tooltip depending on the available space.
  • right—Positions the Tooltip to the right side of the element.
  • left—Positions the Tooltip to the left side of the element.
  • bottom—Positions the Tooltip at the bottom of the element.
  • top—Positions the Tooltip at the top of the element.

When the position is set to auto, sets the start point of the Tooltip callout (in pixels).

Specifies if the Tooltip callout will be displayed.

Sets the Tooltip target element. You have to use it with the open property.

Specifies the CSS class names which are set to the Tooltip DOM element.

Specifies the styles which are set to the Tooltip DOM element.

The milliseconds interval on which the Tooltip will check for title change. By default the Tooltip does not track for title updates.

Callback called when the Tooltip calculates it's position. Useful to modify the default position behavior. Require to return the top and left position of the Tooltip.

Parameters:eventTooltipPositionEventReturns:

{ top: number; left: number }

Sets a class of the Tooltip animation container.