[Hover Card] What does PositioningOptions
mean?
#2302
Answered
by
segunadebayo
tyteen4a03
asked this question in
Q&A
-
DescriptionThe docs for https://ark-ui.com/docs/components/hover-card has a custom type called Link to Reproduction (or Detailed Explanation)https://ark-ui.com/docs/components/hover-card Steps to ReproduceN/A Ark UI VersionN/A Framework
BrowserNo response Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Answered by
segunadebayo
Mar 31, 2024
Replies: 1 comment 2 replies
-
Hi @tyteen4a03, The positioning options is used to customize the underlying positioning logic of the content relative to the trigger. You can use it to control the placement, offset and much more. Learn more here: https://github.com/chakra-ui/zag/blob/main/packages/utilities/popper/src/types.ts#L19 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
segunadebayo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @tyteen4a03,
The positioning options is used to customize the underlying positioning logic of the content relative to the trigger.
You can use it to control the placement, offset and much more.
Learn more here: https://github.com/chakra-ui/zag/blob/main/packages/utilities/popper/src/types.ts#L19