Skip to content

TooltipContent

Overview

The content panel of a Tooltip, rendered in a portal with an arrow.

Theme entry: TooltipContent

Props

NameTypeRequiredDefaultDescription
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
sideOffsetnumber4The distance in pixels from the trigger.
sidestringundefinedThe side of the trigger to show the tooltip on.
alignstringundefinedThe alignment of the tooltip relative to the trigger.
forceMountbooleanundefinedWhether to force mount the content.
ariaLabelstringundefinedWhether to show the arrow.

Slots

default

Slot.

Events

NameDescription
escapeKeyDownEmitted when the Escape key is pressed.
pointerDownOutsideEmitted when a pointer-down event occurs outside the content.

Full event reference

Source

client/lib/shell/tooltip/TooltipContent.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2