hideWhen()
Hides the element when a specified condition is true.
hideWhen(condition: BindingOrValue<any>): this;
Notes
- Elements are still rendered even when they are hidden; use UIShowView to render views conditionally.
Parameters
- condition — A value or binding; if the value is truthy, the element will be hidden.
Return value
The builder instance for chaining.
Related
class ElementBuilder abstractstatic
An abstract base class for UI element builders.hidden
True if the element should be hidden from view.
