profectus-docs/assets/api_game_requirements_functions_createVisibilityRequirement.md.BkxQj5Ng.js

1 line
2.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 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 &quot;Function: createVisibilityRequirement()&quot;"></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 &quot;Parameters&quot;"></a></h2><h3 id="visibility" tabindex="-1">visibility <a class="header-anchor" href="#visibility" aria-label="Permalink to &quot;visibility&quot;"></a></h3><p><a href="https://vuejs.org/api/utility-types.html#mayberef" target="_blank" rel="noreferrer"><code>MaybeRef</code></a>&lt;<code>boolean</code> | <a href="./../../../features/feature/enumerations/Visibility"><code>Visibility</code></a>&gt;</p><p>The visibility ref to check</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></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 &quot;Defined in&quot;"></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};