Profectus / wrappers/tooltips/tooltip / TooltipOptions
Interface: TooltipOptions ​
An object that configures a Tooltip.
Extends ​
Properties ​
classes? ​
optional
classes:MaybeRefOrGetter
<Record
<string
,boolean
>>
Dictionary of CSS classes to apply to this feature.
Inherited from ​
Defined in ​
direction? ​
optional
direction:MaybeRefOrGetter
<Direction
>
The direction in which to display the tooltip
Defined in ​
profectus/src/wrappers/tooltips/tooltip.tsx:26
display ​
display:
MaybeGetter
<Renderable
>
The text to display inside the tooltip.
Defined in ​
profectus/src/wrappers/tooltips/tooltip.tsx:24
pinnable? ​
optional
pinnable:boolean
Whether or not this tooltip can be pinned, meaning it'll stay visible even when not hovered.
Defined in ​
profectus/src/wrappers/tooltips/tooltip.tsx:22
style? ​
optional
style:MaybeRefOrGetter
<CSSProperties
>
CSS to apply to this feature.
Inherited from ​
Defined in ​
visibility? ​
optional
visibility:MaybeRefOrGetter
<boolean | Visibility>
Whether this feature should be visible.
Inherited from ​
Defined in ​
xoffset? ​
optional
xoffset:MaybeRefOrGetter
<string
>
The x offset of the tooltip, in px.
Defined in ​
profectus/src/wrappers/tooltips/tooltip.tsx:28
yoffset? ​
optional
yoffset:MaybeRefOrGetter
<string
>
The y offset of the tooltip, in px.