Skip to content

co-tooltip

This content is not available in your language yet.

Ver código
<co-tooltip></co-tooltip>

Props

PropAtributoTipoDefaultDescripción
arrowarrowbooleantrueShow an arrow pointing at the trigger.
contentcontentstring''Tooltip text content.
disableddisabledbooleanfalsePrevent the tooltip from appearing.
flipflipbooleantrueAuto-flip when the tooltip would overflow the viewport.
hideDelayhide-delaynumber100Delay in ms before hiding the tooltip on mouse leave.
maxWidthmax-widthstring'280px'Maximum width before text wraps.
offsetoffsetnumber8Gap in px between the trigger and tooltip.
placementplacement"bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"'top'Position relative to the trigger element.
showDelayshow-delaynumber300Delay in ms before showing the tooltip on hover.

Eventos

Este componente no emite eventos personalizados.

Slots

Este componente no expone slots.

CSS Parts

Este componente no expone CSS parts.

CSS Custom Properties

Este componente no expone CSS custom properties.