1 line
4.1 KiB
JavaScript
1 line
4.1 KiB
JavaScript
import{_ as o,c as t,a0 as a,o as c}from"./chunks/framework.P9qPzDnn.js";const q=JSON.parse('{"title":"Function: createUpgrade()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/clickables/upgrade/functions/createUpgrade.md","filePath":"api/features/clickables/upgrade/functions/createUpgrade.md","lastUpdated":null}'),r={name:"api/features/clickables/upgrade/functions/createUpgrade.md"};function d(u,e,s,n,i,p){return c(),t("div",null,e[0]||(e[0]=[a('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/clickables/upgrade</a> / createUpgrade</p><h1 id="function-createupgrade" tabindex="-1">Function: createUpgrade() <a class="header-anchor" href="#function-createupgrade" aria-label="Permalink to "Function: createUpgrade()""></a></h1><blockquote><p><strong>createUpgrade</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>"onHold"</code> | <code>"requirements"</code>>, <code>"canClick"</code> | <code>"display"</code> | <code>"onClick"</code> | <code>"onHold"</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>"requirements"</code> | <code>"onPurchase"</code>> & <code>object</code></p></blockquote><p>Lazily creates an upgrade 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/UpgradeOptions"><code>UpgradeOptions</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>Upgrade 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>"onHold"</code> | <code>"requirements"</code>>, <code>"canClick"</code> | <code>"display"</code> | <code>"onClick"</code> | <code>"onHold"</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>"requirements"</code> | <code>"onPurchase"</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/clickables/upgrade.tsx#L74" target="_blank" rel="noreferrer">profectus/src/features/clickables/upgrade.tsx:74</a></p>',14)]))}const h=o(r,[["render",d]]);export{q as __pageData,h as default};
|