Profectus / wrappers/tooltips/tooltip / TooltipOptions
Interface: TooltipOptions ​
An object that configures a Tooltip.
Extends ​
Properties ​
classes? ​
optionalclasses:MaybeRefOrGetter<Record<string,boolean>>
Dictionary of CSS classes to apply to this feature.
Inherited from ​
Defined in ​
direction? ​
optionaldirection: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? ​
optionalpinnable: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? ​
optionalstyle:MaybeRefOrGetter<CSSProperties>
CSS to apply to this feature.
Inherited from ​
Defined in ​
visibility? ​
optionalvisibility:MaybeRefOrGetter<boolean | Visibility>
Whether this feature should be visible.
Inherited from ​
Defined in ​
xoffset? ​
optionalxoffset:MaybeRefOrGetter<string>
The x offset of the tooltip, in px.
Defined in ​
profectus/src/wrappers/tooltips/tooltip.tsx:28
yoffset? ​
optionalyoffset:MaybeRefOrGetter<string>
The y offset of the tooltip, in px.