A RAD container is a component for grouping together reports. They allow you pull up controls to the container level to coordinate reports so that one set of controls is shared among them.
Reports may keep controls local to themselves by adding :local?
to a control; otherwise, all of the controls
from all nested reports will be pulled up to the container level and will be unified when their names match. The
container itself will then be responsible for asking the children to refresh (though technically you can add a local
control to any child to make such a control available for a particular child).
A RAD container is a component for grouping together reports. They allow you pull up controls to the container level to coordinate reports so that one set of controls is shared among them. Reports may keep controls local to themselves by adding `:local?` to a control; otherwise, all of the controls from all nested reports will be pulled up to the container level and will be unified when their names match. The container itself will then be responsible for asking the children to refresh (though technically you can add a local control to any child to make such a control available for a particular child).
(child-classes container)
Returns a de-duped set of classes of the children of the given instance/class (using it's query)
Returns a de-duped set of classes of the children of the given instance/class (using it's query)
(container-options uism-env & k-or-ks)
Returns the report options from the current report actor.
Returns the report options from the current report actor.
(defsc-container sym arglist & args)
Define a container, which is a specialized component that holds and coordinates more than one report under a common set of controls.
If you want this to be a route target, then you must add :route-segment
.
You should at least specify a ::children option.
If you elide the body, one will be generated for you.
Define a container, which is a specialized component that holds and coordinates more than one report under a common set of controls. If you want this to be a route target, then you must add `:route-segment`. You should at least specify a ::children option. If you elide the body, one will be generated for you.
(id-child-pairs container)
Returns a sequence of [id cls] pairs for each child (i.e. the seq of the children setting)
Returns a sequence of [id cls] pairs for each child (i.e. the seq of the children setting)
(render-layout container-instance)
Auto-render the content of a container. This is the automatic body of a container. If you supply no render body
to a container, this is what it will hold. Configurable through component options via ::container/layout-style
. You can also do custom rendering
in the container, and call this to embed the generated UI.
Auto-render the content of a container. This is the automatic body of a container. If you supply no render body to a container, this is what it will hold. Configurable through component options via `::container/layout-style`. You can also do custom rendering in the container, and call this to embed the generated UI.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close