profectus-docs/assets/api_features_feature_functions_isVisible.md.5bmHc8LF.js

1 line
2.2 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 a,a0 as t,o as r}from"./chunks/framework.P9qPzDnn.js";const b=JSON.parse('{"title":"Function: isVisible()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/feature/functions/isVisible.md","filePath":"api/features/feature/functions/isVisible.md","lastUpdated":null}'),s={name:"api/features/feature/functions/isVisible.md"};function o(n,e,l,c,d,u){return r(),a("div",null,e[0]||(e[0]=[t('<p><a href="./../../../">Profectus</a> / <a href="./../">features/feature</a> / isVisible</p><h1 id="function-isvisible" tabindex="-1">Function: isVisible() <a class="header-anchor" href="#function-isvisible" aria-label="Permalink to &quot;Function: isVisible()&quot;"></a></h1><blockquote><p><strong>isVisible</strong>(<code>visibility</code>): <code>boolean</code></p></blockquote><p>Utility function for determining if a visibility value is anything but Visibility.None. Booleans are allowed and false will be considered to be Visibility.None.</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="./../enumerations/Visibility"><code>Visibility</code></a>&gt;</p><p>The ref to either a visibility value or boolean</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><code>boolean</code></p><p>True if the visibility is either true, Visibility.Visible, or Visibility.Hidden</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/feature.ts#L32" target="_blank" rel="noreferrer">profectus/src/features/feature.ts:32</a></p>',13)]))}const h=i(s,[["render",o]]);export{b as __pageData,h as default};