1 line
3 KiB
JavaScript
1 line
3 KiB
JavaScript
import{_ as a,c as t,a0 as o,o as r}from"./chunks/framework.P9qPzDnn.js";const m=JSON.parse('{"title":"Function: createCollapsibleAchievements()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/data/common/functions/createCollapsibleAchievements.md","filePath":"api/data/common/functions/createCollapsibleAchievements.md","lastUpdated":null}'),c={name:"api/data/common/functions/createCollapsibleAchievements.md"};function s(i,e,n,l,d,h){return r(),t("div",null,e[0]||(e[0]=[o('<p><a href="./../../../">Profectus</a> / <a href="./../">data/common</a> / createCollapsibleAchievements</p><h1 id="function-createcollapsibleachievements" tabindex="-1">Function: createCollapsibleAchievements() <a class="header-anchor" href="#function-createcollapsibleachievements" aria-label="Permalink to "Function: createCollapsibleAchievements()""></a></h1><blockquote><p><strong>createCollapsibleAchievements</strong>(<code>achievements</code>): <code>object</code></p></blockquote><p>Creates a collapsible display of a list of achievements</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="achievements" tabindex="-1">achievements <a class="header-anchor" href="#achievements" aria-label="Permalink to "achievements""></a></h3><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type" target="_blank" rel="noreferrer"><code>Record</code></a><<code>string</code>, <a href="./../../../features/achievements/achievement/interfaces/Achievement"><code>Achievement</code></a>></p><p>A dictionary of the achievements to display, inserted in the order from easiest to hardest</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><code>object</code></p><h3 id="collapseachievements" tabindex="-1">collapseAchievements <a class="header-anchor" href="#collapseachievements" aria-label="Permalink to "collapseAchievements""></a></h3><blockquote><p><strong>collapseAchievements</strong>: <a href="./../../../game/persistence/type-aliases/Persistent"><code>Persistent</code></a><<code>boolean</code>></p></blockquote><h3 id="display" tabindex="-1">display <a class="header-anchor" href="#display" aria-label="Permalink to "display""></a></h3><blockquote><p><strong>display</strong>: <a href="https://vuejs.org/guide/typescript/composition-api.html#typing-computed" target="_blank" rel="noreferrer"><code>ComputedRef</code></a><<code>Element</code>></p></blockquote><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/data/common.tsx#L382" target="_blank" rel="noreferrer">profectus/src/data/common.tsx:382</a></p>',16)]))}const u=a(c,[["render",s]]);export{m as __pageData,u as default};
|