Skip to content
On this page

Module: features/tooltips/tooltip

Components

Interfaces

Type Aliases

GenericTooltip

Ƭ GenericTooltip: Replace<Tooltip<TooltipOptions>, { direction: ProcessedComputable<Direction> ; pinnable: boolean ; pinned: Ref<boolean> | undefined }>

Defined in

profectus/src/features/tooltips/tooltip.ts:52


Tooltip

Ƭ Tooltip<T>: Replace<T & BaseTooltip, { classes: GetComputableType<T["classes"]> ; direction: GetComputableTypeWithDefault<T["direction"], Up> ; display: GetComputableType<T["display"]> ; pinnable: T["pinnable"] extends undefined ? false : T["pinnable"] ; pinned: T["pinnable"] extends true ? Ref<boolean> : undefined ; style: GetComputableType<T["style"]> ; xoffset: GetComputableType<T["xoffset"]> ; yoffset: GetComputableType<T["yoffset"]> }>

Type parameters

NameType
Textends TooltipOptions

Defined in

profectus/src/features/tooltips/tooltip.ts:38

Functions

addTooltip

addTooltip<T>(element, options): Tooltip<T>

Type parameters

NameType
Textends TooltipOptions

Parameters

NameType
elementVueFeature
optionsT & ThisType<Tooltip<T>> & Partial<BaseTooltip>

Returns

Tooltip<T>