profectus-docs/assets/api_features_clickables_repeatable_functions_createRepeatable.md.BCK3GEQm.lean.js

1 line
4.4 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as t,c as o,a0 as a,o as c}from"./chunks/framework.P9qPzDnn.js";const q=JSON.parse('{"title":"Function: createRepeatable()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/clickables/repeatable/functions/createRepeatable.md","filePath":"api/features/clickables/repeatable/functions/createRepeatable.md","lastUpdated":null}'),r={name:"api/features/clickables/repeatable/functions/createRepeatable.md"};function d(i,e,u,l,n,s){return c(),o("div",null,e[0]||(e[0]=[a('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/clickables/repeatable</a> / createRepeatable</p><h1 id="function-createrepeatable" tabindex="-1">Function: createRepeatable() <a class="header-anchor" href="#function-createrepeatable" aria-label="Permalink to &quot;Function: createRepeatable()&quot;"></a></h1><blockquote><p><strong>createRepeatable</strong>&lt;<code>T</code>&gt;(<code>optionsFunc</code>): <code>object</code> &amp; <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;display&quot;</code> | <code>&quot;onClick&quot;</code> | <code>&quot;requirements&quot;</code> | <code>&quot;limit&quot;</code> | <code>&quot;initialAmount&quot;</code>&gt;, <code>&quot;canClick&quot;</code> | <code>&quot;display&quot;</code> | <code>&quot;onClick&quot;</code> | <code>&quot;onHold&quot;</code> | <code>&quot;visibility&quot;</code> | <code>&quot;classes&quot;</code> | <code>&quot;style&quot;</code> | <em>typeof</em> <a href="./../../../../util/vue/variables/VueFeature"><code>VueFeature</code></a> | <code>&quot;id&quot;</code> | <code>&quot;components&quot;</code> | <code>&quot;wrappers&quot;</code> | <code>&quot;requirements&quot;</code> | <code>&quot;limit&quot;</code> | <code>&quot;initialAmount&quot;</code>&gt; &amp; <code>object</code></p></blockquote><p>Lazily creates a repeatable with the given options.</p><h2 id="type-parameters" tabindex="-1">Type Parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to &quot;Type Parameters&quot;"></a></h2><p>• <strong>T</strong> <em>extends</em> <a href="./../interfaces/RepeatableOptions"><code>RepeatableOptions</code></a></p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h2><h3 id="optionsfunc" tabindex="-1">optionsFunc <a class="header-anchor" href="#optionsfunc" aria-label="Permalink to &quot;optionsFunc&quot;"></a></h3><p>() =&gt; <code>T</code></p><p>Repeatable options.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><code>object</code> &amp; <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;display&quot;</code> | <code>&quot;onClick&quot;</code> | <code>&quot;requirements&quot;</code> | <code>&quot;limit&quot;</code> | <code>&quot;initialAmount&quot;</code>&gt;, <code>&quot;canClick&quot;</code> | <code>&quot;display&quot;</code> | <code>&quot;onClick&quot;</code> | <code>&quot;onHold&quot;</code> | <code>&quot;visibility&quot;</code> | <code>&quot;classes&quot;</code> | <code>&quot;style&quot;</code> | <em>typeof</em> <a href="./../../../../util/vue/variables/VueFeature"><code>VueFeature</code></a> | <code>&quot;id&quot;</code> | <code>&quot;components&quot;</code> | <code>&quot;wrappers&quot;</code> | <code>&quot;requirements&quot;</code> | <code>&quot;limit&quot;</code> | <code>&quot;initialAmount&quot;</code>&gt; &amp; <code>object</code></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/clickables/repeatable.tsx#L75" target="_blank" rel="noreferrer">profectus/src/features/clickables/repeatable.tsx:75</a></p>',14)]))}const m=t(r,[["render",d]]);export{q as __pageData,m as default};