function showBuilder()
Creates a view builder for a conditional, bound, and/or animated view renderer.
function showBuilder(
content: ViewBuilder | (() => ViewBuilder) | Binding<View | undefined>,
propagateInsertedEvents?: boolean,
): ShowBuilder;
Notes
- To render a bound view, make sure that the view is attached to another object, such as an activity (using ObservableObject.attach()).
- Events from bound views are not propagated by default (i.e. they’re presumed to be handled by the parent of the view itself), unless the
propagateInsertedEventsparameter is set to true.
Parameters
- content — A view builder for static content, or a binding to a dynamic view.
- propagateInsertedEvents — If true, events from dynamically inserted views are propagated by re-emitting them on the UIShowView instance.
Return value
A builder object for configuring the show view.
Related
class UIShowView
A view object that renders and controls a referenced view.class UIShowView
A view object that renders and controls a referenced view.
