co-popover
Ver código
<co-popover></co-popover> Props
| Prop | Atributo | Tipo | Default | Descripción |
|---|---|---|---|---|
closeOnClickOutside | close-on-click-outside | boolean | true | Close when clicking outside the component. |
closeOnEscape | close-on-escape | boolean | true | Close when pressing Escape. |
flip | flip | boolean | true | Flip placement when the panel would overflow the viewport. |
matchWidth | match-width | boolean | false | Make the panel the same width as the trigger. |
offset | offset | number | 4 | Gap in px between trigger and panel. |
open | open | boolean | false | Whether the popover panel is visible. |
placement | placement | "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
| Evento | Detail | Bubbles | Cancelable | Descripción |
|---|---|---|---|---|
coClose | void | — | ✓ | |
coOpen | void | — | ✓ |
Slots
Este componente no expone slots.
CSS Parts
Este componente no expone CSS parts.
CSS Custom Properties
Este componente no expone CSS custom properties.