class UIShowView
A view object that renders and controls a referenced view.
class UIShowView extends View;
Description
A UIShowView object renders its contained view object, when the when property is equal to true, and the unless property is equal to false.
The contained view object can be created from a view builder, or referenced using a binding. In the latter case, the view object is not directly attached to the UIShowView object, but must be attached to another object, such as an activity.
Type members
class ShowBuilder static
A builder class for creatingUIShowViewinstances.
Static members
function showWhenBuilder() static
Creates a view builder for a conditional view renderer.function showUnlessBuilder() static
Creates a view builder for a conditional view renderer.function showBuilder() static
Creates a view builder for a conditional, bound, and/or animated view renderer.
Instance members
when
True if the view content should be rendered, defaults to true.unless
True if the view content should not be rendered, defaults to false.body
The current (attached) view content to be rendered.insert
A (bound) view to be rendered, not attached to the current view.propagateInsertedEvents
True if events from an inserted (not attached) content view should still be propagated from this view renderer instance.findViewContent()
Searches the view hierarchy for view objects of the provided type.requestFocus()
Requests input focus on the body view.
Inherited members
render() abstract
A method that should be implemented to render a View object.emit()
Emits an event, immediately calling all event handlers.emitChange()
Emits a change event.listen()
Adds a handler for all events emitted by this object.listenOnce()
Returns a promise for a single event with the provided name.listenAsync()
Adds a handler for all events emitted by this object, and returns an async iterable.observe()
Observes a property, a bound property from an attached parent, or an observable object.observeAsync()
Observes one or more targets asynchronously, batching or debouncing/throttling updates.attach() protected
Attaches the specified observable object to this object.isUnlinked()
Returns true if the object has been unlinked.unlink()
Unlinks this observable object.beforeUnlink() protected
A method that’s called immediately before unlinking an object, can be overridden.
