Indicates if the element is visible or hidden.
If hidden
is true
, the element is not displayed on the app under
any circumstances. Unlike a
collapsed
element, a hidden element continues to
take up the same space on the app as it did when it was visible.
If hidden
is false
, the element may be displayed on the app.
However, an element whose hidden
property is false
is still not
displayed if:
collapsed
.Even if the element is not displayed due to the conditions
mentioned above, if its hidden
property is set to false
, it's
displayed when the conditions no longer apply.
To determine if the element is actually visible, use the
isVisible
property.
To set the hidden
property on an element, use the element's
hide()
or show()
functions.
If you select Hidden on load in the Properties panel
in the Editor, the hidden
property is set to true
when the app loads.
Note: An element's hidden
property is not the same as its
isVisible property. The hidden
property
indicates whether the element should be displayed, while isVisible
indicates if it is actually displayed.