import{_ast,case,o,Nasa}from"./chunks/framework.0799945b.js";constg=JSON.parse('{"title":"Module: features/tooltips/tooltip","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/features/tooltip.md","lastUpdated":null}'),l={name:"api/modules/features/tooltip.md"},d=a('<h1id="module-features-tooltips-tooltip"tabindex="-1">Module:features/tooltips/tooltip<aclass="header-anchor"href="#module-features-tooltips-tooltip"aria-label="Permalink to "Module: features/tooltips/tooltip""></a></h1><h2id="interfaces"tabindex="-1">Interfaces<aclass="header-anchor"href="#interfaces"aria-label="Permalinkto"Interfaces""></a></h2><h3id="basetooltip"tabindex="-1">BaseTooltip<aclass="header-anchor"href="#basetooltip"aria-label="Permalinkto"BaseTooltip""></a></h3><p>•<strong>BaseTooltip</strong>:<code>Object</code></p><p>Thepropertiesthatareaddedontoaprocessed<ahref="./tooltip#tooltipoptions">TooltipOptions</a>tocreatean<ahref="./tooltip#tooltip">Tooltip</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>pinned?</code></td><tdstyle="text-align:left;"><code>Ref</code><<code>boolean</code>></td></tr></tbody></table><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/c386ace/src/features/tooltips/tooltip.ts#L47"target="_blank"rel="noreferrer">profectus/src/features/tooltips/tooltip.ts:47</a></p><hr><h3id="tooltipoptions"tabindex="-1">TooltipOptions<aclass="header-anchor"href="#tooltipoptions"aria-label="Permalinkto"TooltipOptions""></a></h3><p>•<strong>TooltipOptions</strong>:<code>Object</code></p><p>Anobjectthatconfiguresa<ahref="./tooltip#tooltip">Tooltip</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>classes?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"target="_blank"rel="noreferrer"><code>Record</code></a><<code>string</code>,<code>boolean</code>>></td><tdstyle="text-align:left;">DictionaryofCSSclassestoapplytothisfeature.</td></tr><tr><tdstyle="text-align:left;"><code>direction?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<ahref="./../util/common#direction"><code>Direction</code></a>></td><tdstyle="text-align:left;">Thedirectioninwhichtodisplaythetooltip</td></tr><tr><tdstyle="text-align:left;"><code>display</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<ahref="./feature#coercablecomponent"><code>CoercableComponent</code></a>></td><tdstyle="text-align:left;">Thetexttodisplayinsidethetooltip.</td></tr><tr><tdstyle="text-align:left;"><code>pinnable?</code></td><tdstyle="text-align:left;"><code>boolean</code></td><tdstyle="text-align:left;">Whetherornotthistooltipcanbepinned,meaningit'llstayvisibleevenwhennothovered.</td></tr><tr><tdstyle="text-align:left;"><code>style?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<ahref="./feature#stylevalue"><code>StyleValue</code></a>></td><tdstyle="text-align:left;">CSStoapplytothisfeature.</td></tr><tr><tdstyle="text-align:left;"><code>xoffset?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<code>string</code>></td><tdstyle="text-align:left;">Thexoffsetofthetooltip,inpx.</td></tr><tr><tdstyle="text-align:left;"><code>yof