1 line
3.5 KiB
JavaScript
1 line
3.5 KiB
JavaScript
import{_ as t,c as a,a0 as o,o as r}from"./chunks/framework.P9qPzDnn.js";const b=JSON.parse('{"title":"Function: createTab()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/tabs/tab/functions/createTab.md","filePath":"api/features/tabs/tab/functions/createTab.md","lastUpdated":null}'),c={name:"api/features/tabs/tab/functions/createTab.md"};function s(d,e,n,i,u,p){return r(),a("div",null,e[0]||(e[0]=[o('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/tabs/tab</a> / createTab</p><h1 id="function-createtab" tabindex="-1">Function: createTab() <a class="header-anchor" href="#function-createtab" aria-label="Permalink to "Function: createTab()""></a></h1><blockquote><p><strong>createTab</strong><<code>T</code>>(<code>optionsFunc</code>): <code>object</code> & <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a><<a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a><<code>T</code>, <code>"display"</code>>, <code>"display"</code> | <code>"visibility"</code> | <code>"classes"</code> | <code>"style"</code> | <em>typeof</em> <a href="./../../../../util/vue/variables/VueFeature"><code>VueFeature</code></a> | <code>"id"</code> | <code>"components"</code> | <code>"wrappers"</code>> & <code>object</code></p></blockquote><p>Lazily creates a tab with the given options.</p><h2 id="type-parameters" tabindex="-1">Type Parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to "Type Parameters""></a></h2><p>• <strong>T</strong> <em>extends</em> <a href="./../interfaces/TabOptions"><code>TabOptions</code></a></p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="optionsfunc" tabindex="-1">optionsFunc <a class="header-anchor" href="#optionsfunc" aria-label="Permalink to "optionsFunc""></a></h3><p>() => <code>T</code></p><p>Tab options.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><code>object</code> & <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a><<a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a><<code>T</code>, <code>"display"</code>>, <code>"display"</code> | <code>"visibility"</code> | <code>"classes"</code> | <code>"style"</code> | <em>typeof</em> <a href="./../../../../util/vue/variables/VueFeature"><code>VueFeature</code></a> | <code>"id"</code> | <code>"components"</code> | <code>"wrappers"</code>> & <code>object</code></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to "Defined in""></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/tabs/tab.ts#L31" target="_blank" rel="noreferrer">profectus/src/features/tabs/tab.ts:31</a></p>',14)]))}const h=t(c,[["render",s]]);export{b as __pageData,h as default};
|