Skip to content

HoverCardContent

Overview

The content panel of a HoverCard, rendered in a portal.

Theme entry: HoverCardContent

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.
sidestringundefinedThe side the hover card appears on relative to the trigger.
alignstringundefinedThe alignment along the side axis.
sideOffsetnumber4The distance in pixels from the trigger.
alignOffsetnumberundefinedThe offset along the alignment axis.
avoidCollisionsbooleanundefinedWhether to avoid collisions with boundary edges.
collisionBoundaryobject|arrayundefinedThe collision boundary element(s).
collisionPaddingnumber|objectundefinedThe padding for collision detection.
stickystringundefinedThe sticky behavior on the align axis.
hideWhenDetachedbooleanundefinedWhether to hide the content when the trigger is fully occluded.
forceMountbooleanundefinedWhether to force mount the content.
asstring|objectundefinedThe element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element instead of rendering a wrapper.

Slots

default

Slot.

Source

client/lib/shell/hover-card/HoverCardContent.vue

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