Skip to content

Profectus / wrappers/tooltips/tooltip / Tooltip

Interface: Tooltip ​

An object that represents a tooltip that appears when hovering over an element.

Extends ​

Properties ​

[VueFeature] ​

[VueFeature]: true

Used to identify Vue Features

Inherited from ​

VueFeature.[VueFeature]

Defined in ​

profectus/src/util/vue.tsx:43


classes? ​

optional classes: MaybeRef<Record<string, boolean>>

Dictionary of CSS classes to apply to this feature.

Inherited from ​

VueFeature.classes

Defined in ​

profectus/src/util/vue.tsx:35


components ​

components: MaybeGetter<Renderable>[]

The components to render inside the vue feature

Inherited from ​

VueFeature.components

Defined in ​

profectus/src/util/vue.tsx:39


direction? ​

optional direction: MaybeRef<Direction>

The direction in which to display the tooltip

Defined in ​

profectus/src/wrappers/tooltips/tooltip.tsx:40


display ​

display: MaybeGetter<Renderable>

The text to display inside the tooltip.

Defined in ​

profectus/src/wrappers/tooltips/tooltip.tsx:38


id ​

id: string

An auto-generated ID for identifying features that appear in the DOM. Will not persist between refreshes or updates.

Inherited from ​

VueFeature.id

Defined in ​

profectus/src/util/vue.tsx:31


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:36


pinned? ​

optional pinned: Ref<boolean, boolean>

Whether or not this tooltip is currently pinned. Undefined if pinnable is false.

Defined in ​

profectus/src/wrappers/tooltips/tooltip.tsx:46


style? ​

optional style: MaybeRef<CSSProperties>

CSS to apply to this feature.

Inherited from ​

VueFeature.style

Defined in ​

profectus/src/util/vue.tsx:37


visibility? ​

optional visibility: MaybeRef<boolean | Visibility>

Whether this feature should be visible.

Inherited from ​

VueFeature.visibility

Defined in ​

profectus/src/util/vue.tsx:33


wrappers ​

wrappers: Wrapper[]

The components to render wrapped around the vue feature

Inherited from ​

VueFeature.wrappers

Defined in ​

profectus/src/util/vue.tsx:41


xoffset? ​

optional xoffset: MaybeRef<string>

The x offset of the tooltip, in px.

Defined in ​

profectus/src/wrappers/tooltips/tooltip.tsx:42


yoffset? ​

optional yoffset: MaybeRef<string>

The y offset of the tooltip, in px.

Defined in ​

profectus/src/wrappers/tooltips/tooltip.tsx:44