Liking cljdoc? Tell your friends :D

membrane.alpha.stretch


align-distanceclj

(align-distance child-length child-pct parent-length parent-pct)

halignclj

(halign child child-pct parent-width parent-pct)

Horizontally align child within a parent width.

Horizontally align child within a parent width.
raw docstring

hlayoutclj

(hlayout elems)
(hlayout xform elems)

Horizontally stack elems. Optional xform can be supplied.

Horizontally stack `elems`. Optional `xform` can be supplied.
raw docstring

space-aroundclj

(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.
raw docstring

space-betweenclj

(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.
raw docstring

space-evenlyclj

(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.
raw docstring

test-space-betweenclj

(test-space-between)

valignclj

(valign child child-pct parent-height parent-pct)

Vertically align child within a parent height.

Vertically align child within a parent height.
raw docstring

vlayoutclj

(vlayout elems)
(vlayout xform elems)

Vertically stack elems. Optional xform can be supplied.

Vertically stack `elems`. Optional `xform` can be supplied.
raw docstring

weighted-partitionclj

(weighted-partition length weights)

with-container-sizecljmacro

(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.
raw docstring

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

× close