1 line
2.3 KiB
JavaScript
1 line
2.3 KiB
JavaScript
import{_ as i,c as t,a0 as r,o as a}from"./chunks/framework.P9qPzDnn.js";const f=JSON.parse('{"title":"Function: createVisibilityRequirement()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/requirements/functions/createVisibilityRequirement.md","filePath":"api/game/requirements/functions/createVisibilityRequirement.md","lastUpdated":null}'),n={name:"api/game/requirements/functions/createVisibilityRequirement.md"};function s(o,e,c,l,u,m){return a(),t("div",null,e[0]||(e[0]=[r('<p><a href="./../../../">Profectus</a> / <a href="./../">game/requirements</a> / createVisibilityRequirement</p><h1 id="function-createvisibilityrequirement" tabindex="-1">Function: createVisibilityRequirement() <a class="header-anchor" href="#function-createvisibilityrequirement" aria-label="Permalink to "Function: createVisibilityRequirement()""></a></h1><blockquote><p><strong>createVisibilityRequirement</strong>(<code>visibility</code>): <a href="./../interfaces/Requirement"><code>Requirement</code></a></p></blockquote><p>Utility function for creating a requirement that a specified vue feature is visible</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="visibility" tabindex="-1">visibility <a class="header-anchor" href="#visibility" aria-label="Permalink to "visibility""></a></h3><p><a href="https://vuejs.org/api/utility-types.html#mayberef" target="_blank" rel="noreferrer"><code>MaybeRef</code></a><<code>boolean</code> | <a href="./../../../features/feature/enumerations/Visibility"><code>Visibility</code></a>></p><p>The visibility ref to check</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><a href="./../interfaces/Requirement"><code>Requirement</code></a></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/game/requirements.tsx#L248" target="_blank" rel="noreferrer">profectus/src/game/requirements.tsx:248</a></p>',12)]))}const h=i(n,[["render",s]]);export{f as __pageData,h as default};
|