Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(tooltip): Add docs for skipDelayDuration prop #472

Merged
merged 1 commit into from
Aug 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/docs/src/routes/docs/core/components/tooltip.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ We expose a CSS custom property `--kb-tooltip-content-transform-origin` which ca
| onOpenChange | `(open: boolean) => void` <br/> Event handler called when the open state of the tooltip changes. |
| triggerOnFocusOnly | `boolean` <br/> Whether to open the tooltip only when the trigger is focused. By default, opens for both focus and hover. |
| openDelay | `number` <br/> The duration from when the mouse enters the trigger until the tooltip opens. |
| skipDelayDuration | `number` <br/> The duration from when the mouse leaves the trigger or content and moves to another tooltip trigger or content without incurring another openDelay |
| closeDelay | `number` <br/> The duration from when the mouse leaves the trigger or content until the tooltip closes. |
| ignoreSafeArea | `boolean` <br/> Whether to close the tooltip even if the user cursor is inside the safe area between the trigger and tooltip. |
| id | `string` <br/> A unique identifier for the component. The id is used to generate id attributes for nested components. If no id prop is provided, a generated id will be used. |
Expand Down
Loading