profectus-docs/assets/api_modules_features_tooltips_tooltip.md.c4c675ca.js

1 line
7 KiB
JavaScript

import{_ as e,c as t,o,a}from"./app.ab34650d.js";const m=JSON.parse('{"title":"Module: features/tooltips/tooltip","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Components","slug":"components"},{"level":2,"title":"Interfaces","slug":"interfaces"},{"level":2,"title":"Type Aliases","slug":"type-aliases"},{"level":3,"title":"GenericTooltip","slug":"generictooltip"},{"level":3,"title":"Tooltip","slug":"tooltip"},{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"addTooltip","slug":"addtooltip"}],"relativePath":"api/modules/features/tooltips/tooltip.md","lastUpdated":null}'),d={name:"api/modules/features/tooltips/tooltip.md"},l=a('<h1 id="module-features-tooltips-tooltip" tabindex="-1">Module: features/tooltips/tooltip <a class="header-anchor" href="#module-features-tooltips-tooltip" aria-hidden="true">#</a></h1><h2 id="components" tabindex="-1">Components <a class="header-anchor" href="#components" aria-hidden="true">#</a></h2><ul><li><a href="./TooltipComponent.html">Tooltip</a></li></ul><h2 id="interfaces" tabindex="-1">Interfaces <a class="header-anchor" href="#interfaces" aria-hidden="true">#</a></h2><ul><li><a href="../../../interfaces/features/tooltips/tooltip.BaseTooltip">BaseTooltip</a></li><li><a href="../../../interfaces/features/tooltips/tooltip.TooltipOptions">TooltipOptions</a></li></ul><h2 id="type-aliases" tabindex="-1">Type Aliases <a class="header-anchor" href="#type-aliases" aria-hidden="true">#</a></h2><h3 id="generictooltip" tabindex="-1">GenericTooltip <a class="header-anchor" href="#generictooltip" aria-hidden="true">#</a></h3><p>\u01AC <strong>GenericTooltip</strong>: <a href="./../feature.html#replace"><code>Replace</code></a>&lt;<a href="./tooltip.html#tooltip"><code>Tooltip</code></a>&lt;<a href="../../../interfaces/features/tooltips/tooltip.TooltipOptions"><code>TooltipOptions</code></a>&gt;, { <code>direction</code>: <a href="./../../util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="../../../enums/util/common.Direction"><code>Direction</code></a>&gt; ; <code>pinnable</code>: <code>boolean</code> ; <code>pinned</code>: <code>Ref</code>&lt;<code>boolean</code>&gt; | <code>undefined</code> }&gt;</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/tooltips/tooltip.ts#L52" target="_blank" rel="noopener noreferrer">profectus/src/features/tooltips/tooltip.ts:52</a></p><hr><h3 id="tooltip" tabindex="-1">Tooltip <a class="header-anchor" href="#tooltip" aria-hidden="true">#</a></h3><p>\u01AC <strong>Tooltip</strong>&lt;<code>T</code>&gt;: <a href="./../feature.html#replace"><code>Replace</code></a>&lt;<code>T</code> &amp; <a href="../../../interfaces/features/tooltips/tooltip.BaseTooltip"><code>BaseTooltip</code></a>, { <code>classes</code>: <a href="./../../util/computed.html#getcomputabletype"><code>GetComputableType</code></a>&lt;<code>T</code>[<code>&quot;classes&quot;</code>]&gt; ; <code>direction</code>: <a href="./../../util/computed.html#getcomputabletypewithdefault"><code>GetComputableTypeWithDefault</code></a>&lt;<code>T</code>[<code>&quot;direction&quot;</code>], <a href="./../../../enums/util/common.Direction.html#up"><code>Up</code></a>&gt; ; <code>display</code>: <a href="./../../util/computed.html#getcomputabletype"><code>GetComputableType</code></a>&lt;<code>T</code>[<code>&quot;display&quot;</code>]&gt; ; <code>pinnable</code>: <code>T</code>[<code>&quot;pinnable&quot;</code>] extends <code>undefined</code> ? <code>false</code> : <code>T</code>[<code>&quot;pinnable&quot;</code>] ; <code>pinned</code>: <code>T</code>[<code>&quot;pinnable&quot;</code>] extends <code>true</code> ? <code>Ref</code>&lt;<code>boolean</code>&gt; : <code>undefined</code> ; <code>style</code>: <a href="./../../util/computed.html#getcomputabletype"><code>GetComputableType</code></a>&lt;<code>T</code>[<code>&quot;style&quot;</code>]&gt; ; <code>xoffset</code>: <a href="./../../util/computed.html#getcomputabletype"><code>GetComputableType</code></a>&lt;<code>T</code>[<code>&quot;xoffset&quot;</code>]&gt; ; <code>yoffset</code>: <a href="./../../util/computed.html#getcomputabletype"><code>GetComputableType</code></a>&lt;<code>T</code>[<code>&quot;yoffset&quot;</code>]&gt; }&gt;</p><h4 id="type-parameters" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="../../../interfaces/features/tooltips/tooltip.TooltipOptions"><code>TooltipOptions</code></a></td></tr></tbody></table><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/tooltips/tooltip.ts#L38" target="_blank" rel="noopener noreferrer">profectus/src/features/tooltips/tooltip.ts:38</a></p><h2 id="functions" tabindex="-1">Functions <a class="header-anchor" href="#functions" aria-hidden="true">#</a></h2><h3 id="addtooltip" tabindex="-1">addTooltip <a class="header-anchor" href="#addtooltip" aria-hidden="true">#</a></h3><p>\u25B8 <strong>addTooltip</strong>&lt;<code>T</code>&gt;(<code>element</code>, <code>options</code>): <a href="./tooltip.html#tooltip"><code>Tooltip</code></a>&lt;<code>T</code>&gt;</p><h4 id="type-parameters-1" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-1" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="../../../interfaces/features/tooltips/tooltip.TooltipOptions"><code>TooltipOptions</code></a></td></tr></tbody></table><h4 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>element</code></td><td style="text-align:left;"><a href="./../../util/vue.html#vuefeature"><code>VueFeature</code></a></td></tr><tr><td style="text-align:left;"><code>options</code></td><td style="text-align:left;"><code>T</code> &amp; <code>ThisType</code>&lt;<a href="./tooltip.html#tooltip"><code>Tooltip</code></a>&lt;<code>T</code>&gt;&gt; &amp; <code>Partial</code>&lt;<a href="../../../interfaces/features/tooltips/tooltip.BaseTooltip"><code>BaseTooltip</code></a>&gt;</td></tr></tbody></table><h4 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-hidden="true">#</a></h4><p><a href="./tooltip.html#tooltip"><code>Tooltip</code></a>&lt;<code>T</code>&gt;</p>',26),i=[l];function c(r,s,p,n,h,u){return o(),t("div",null,i)}var T=e(d,[["render",c]]);export{m as __pageData,T as default};