profectus-docs/assets/api_data_common_functions_createCollapsibleAchievements.md.l97D4ebe.lean.js

1 line
3 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 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 &quot;Function: createCollapsibleAchievements()&quot;"></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 &quot;Parameters&quot;"></a></h2><h3 id="achievements" tabindex="-1">achievements <a class="header-anchor" href="#achievements" aria-label="Permalink to &quot;achievements&quot;"></a></h3><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type" target="_blank" rel="noreferrer"><code>Record</code></a>&lt;<code>string</code>, <a href="./../../../features/achievements/achievement/interfaces/Achievement"><code>Achievement</code></a>&gt;</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 &quot;Returns&quot;"></a></h2><p><code>object</code></p><h3 id="collapseachievements" tabindex="-1">collapseAchievements <a class="header-anchor" href="#collapseachievements" aria-label="Permalink to &quot;collapseAchievements&quot;"></a></h3><blockquote><p><strong>collapseAchievements</strong>: <a href="./../../../game/persistence/type-aliases/Persistent"><code>Persistent</code></a>&lt;<code>boolean</code>&gt;</p></blockquote><h3 id="display" tabindex="-1">display <a class="header-anchor" href="#display" aria-label="Permalink to &quot;display&quot;"></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>&lt;<code>Element</code>&gt;</p></blockquote><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/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};