Skip to content

Profectus / game/requirements / createVisibilityRequirement

Function: createVisibilityRequirement() ​

createVisibilityRequirement(visibility): Requirement

Utility function for creating a requirement that a specified vue feature is visible

Parameters ​

visibility ​

MaybeRef<boolean | Visibility>

The visibility ref to check

Returns ​

Requirement

Defined in ​

profectus/src/game/requirements.tsx:248