Ir al contenido

co-popover

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

Props

PropAtributoTipoDefaultDescripción
closeOnClickOutsideclose-on-click-outsidebooleantrueClose when clicking outside the component.
closeOnEscapeclose-on-escapebooleantrueClose when pressing Escape.
flipflipbooleantrueFlip placement when the panel would overflow the viewport.
matchWidthmatch-widthbooleanfalseMake the panel the same width as the trigger.
offsetoffsetnumber4Gap in px between trigger and panel.
openopenbooleanfalseWhether the popover panel is visible.
placementplacement"bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"'bottom-start'Where the panel appears relative to the trigger.

Eventos

EventoDetailBubblesCancelableDescripción
coClosevoid
coOpenvoid

Slots

Este componente no expone slots.

CSS Parts

Este componente no expone CSS parts.

CSS Custom Properties

Este componente no expone CSS custom properties.