prosekit/solid/popover
PopoverContentProps
Props for the PopoverContent component.
onEscapeKeyDown
Type:
undefined | ((event: EscapeKeyDownEvent) => void)
onFocusOutside
Type:
undefined | ((event: FocusOutsideEvent) => void)
onInteractOutside
Type:
undefined | ((event: InteractOutsideEvent) => void)
onPointerDownOutside
Type:
undefined | ((event: PointerDownOutsideEvent) => void)
PopoverRootProps
Props for the PopoverRoot component.
onOpenChange
Type:
undefined | ((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