(align-distance child-length child-pct parent-length parent-pct)(halign child child-pct parent-width parent-pct)Horizontally align child within a parent width.
Horizontally align child within a parent width.
(hlayout elems)(hlayout xform elems)Horizontally stack elems. Optional xform can be supplied.
Horizontally stack `elems`. Optional `xform` can be supplied.
(space-around container-length lengths)Given a container-length and lengths of child elements, return a sequence of offsets so that extra space is distributed evenly around the child elements.
Given a container-length and lengths of child elements, return a sequence of offsets so that extra space is distributed evenly around the child elements.
(space-between container-length lengths)Given a container-length and lengths of child elements, return a sequence of offsets so that extra space is distributed evenly between the child elements.
Given a container-length and lengths of child elements, return a sequence of offsets so that extra space is distributed evenly between the child elements.
(space-evenly container-length lengths)Given a container-length and lengths of child elements, return a sequence of offsets so that each child elements will be evenly distributed in the container.
Given a container-length and lengths of child elements, return a sequence of offsets so that each child elements will be evenly distributed in the container.
(test-space-between)(valign child child-pct parent-height parent-pct)Vertically align child within a parent height.
Vertically align child within a parent height.
(vlayout elems)(vlayout xform elems)Vertically stack elems. Optional xform can be supplied.
Vertically stack `elems`. Optional `xform` can be supplied.
(weighted-partition length weights)(with-container-size size & body)Assoc in size into the component context. Children within the lexical
scope will inherit use the contextual container size.
Assoc in `size` into the component context. Children within the lexical scope will inherit use the contextual container size.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |