Get visibility (Beta)
Get visibility (Beta)
Get visibility (Beta)
element.getVisibility()Get the visibility of an element or whether its visibility state is bound to a data source.
Verify that the element has the visibility property before calling this method.
These methods are in public beta and may change with future releases.
options (optional): { bindings: true } — When passed, returns binding metadata instead of the resolved boolean value if the visibility is bound to a data source.Promise<boolean>: true if the element is visible, false if it is hidden.Promise<boolean | BindingValue | null> (when { bindings: true } is passed): A BindingValue object if the visibility is bound to a data source, or null if the visibility is unset.Checks for authorization only.