Stops all interactions with content in the background/under the tooltip. The tooltip must first be closed before being able to interact with other elements again.
The tooltip target
styles for element wrapping the children
Delay hiding the tooltip for [delay] millisenconds.
Determines whether the component will automatically manage closing the tooltip.
hideTooltip
render arg to control this behavior.The tooltip content
Disable the tooltip
Force the tooltip content to match the width of the target element.
This is useful for dropdowns/autocompletes where you want the tooltip content to automatically just match the input width.
Block all elements behind the tooltip so they can't be interacted with
Which direction the tooltip content should grow.
anchorPoint
to the
top left corner of the tooltip content.anchorPoint
to the top right corner
of the tooltip content.anchorPoint
to the
bottom left corner of the tooltip content.anchorPoint
to the bottom right
corner of the tooltip content.Hide tooltip when the document scrolls
Delay showing the tooltip for [delay] millisenconds.
Determines whether the component will automatically manage opening the tooltip.
showTooltip
render arg to control this behavior.Determines the tooltip content position. If a position is set, the tooltip content's
top left corner will be positioned at the specified anchor. Use xOffset
/yOffset
to control position from there.
null - Will use the client X and Y offset from the event that triggered the tooltip to show. In most cases this will be the mouse position when it hovers over or clicks on an element.
top-left - The tooltip content's anchorPoint
will be placed at the target's
top left corner.
top-right - The tooltip content's anchorPoint
will be placed at the target's
top right corner.
bottom-left - The tooltip content's anchorPoint
will be placed at the target's
bottom left corner.
bottom-right - The tooltip content's anchorPoint
will be placed at the target's
bottom right corner.
After determining the base position of the tooltip content using anchor
,
this value will be added to the x position.
After determining the base position of the tooltip content using anchor
,
this value will be added to the y position.
Callback after tooltip closes
Callback after tooltip opens
Generated using TypeDoc
Tooltip terms
position