Skip to content

prosekit/solid/popover

PopoverContentProps

Props for the PopoverContent component.

onEscapeKeyDown?: (event: EscapeKeyDownEvent) => void

onFocusOutside?: (event: FocusOutsideEvent) => void

onInteractOutside?: (event: InteractOutsideEvent) => void

onPointerDownOutside?: (event: PointerDownOutsideEvent) => void

PopoverRootProps

Props for the PopoverRoot component.

onOpenChange?: (event: boolean) => void

PopoverTriggerProps

Props for the PopoverTrigger component.

PopoverContent

ts
function PopoverContent(props: Partial<PopoverContentProps> & HTMLAttributes<PopoverContent>): Element

PopoverRoot

ts
function PopoverRoot(props: Partial<PopoverRootProps> & HTMLAttributes<PopoverRoot>): Element

PopoverTrigger

ts
function PopoverTrigger(props: Partial<PopoverTriggerProps> & HTMLAttributes<PopoverTrigger>): Element