Liking cljdoc? Tell your friends :D

org.soulspace.overarch.adapter.template.view-api

Public API with useful functions on top of the view for use in templates. (Not yet stable!)

Public API with useful functions on top of the view for use in templates. (Not yet stable!)
raw docstring

element-to-renderclj

(element-to-render model view e)

Returns the model element to be rendered for element e for the view in the context of the model. Maps some elements to other elements (e.g. boundaries), depending on the type of view.

Returns the model element to be rendered for element `e` for the `view` in the context of the `model`.
Maps some elements to other elements (e.g. boundaries), depending on the type of view.
sourceraw docstring

elements-to-renderclj

(elements-to-render model view)
(elements-to-render model view coll)

Returns the list of elements to render from the view or the given coll of elements, depending on the type of the view.

Returns the list of elements to render from the `view` or the given `coll` of elements, depending on the type of the view.
sourceraw docstring

render-model-element?clj

(render-model-element? model view e)

Returns true if the element e is rendered in the view in the context of the model.

Returns true if the element `e` is rendered in the `view` in the context of the `model`.
sourceraw docstring

root-elementsclj

(root-elements model elements)

Returns the root elements for a collection of model elements to start the rendering of the view with.

Returns the root elements for a collection of `model` `elements` to start the rendering of the `view` with.
sourceraw docstring

view-elementsclj

(view-elements model view)

Returns the model elements specified for the given view.

Returns the `model` elements specified for the given `view`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close