visibility
If present, this element governs the visibility of its parent in
application user interfaces. It only has meaning as the child of an
element that represents a user interface component (a
field
element in a
content-type
resource, for example).
In CUE, fields are hidden if they contain a
visibility
element that is set to
hidden
or expert
.
Allowed values are:
hidden
-
The parent element's user interface component should be hidden in all applications.
expert
-
The parent element's user interface component is not typically used on a day-to-day basis, and should be hidden in all applications, unless it is already in use. A field, for example, should be hidden unless it already contains data. Applications may offer users an option that shows these expert components.
advanced
-
The parent element's user interface component should be visible in applications aimed at advanced users. Applications that hide advanced components may offer users an option that shows them.
This is the default setting used when
visibility
is not specified. beginner
-
The parent element's user interface component should be visible in all applications.
Syntax
<visibility> (hidden|expert|advanced|beginner) </visibility>