(drag-handle orientation over?)
Return a drag handle to go into a vertical or horizontal splitter bar: orientation: Can be :horizonal or :vertical over?: When true, the mouse is assumed to be over the splitter so show a bolder color
Return a drag handle to go into a vertical or horizontal splitter bar: orientation: Can be :horizonal or :vertical over?: When true, the mouse is assumed to be over the splitter so show a bolder color
(flex-child-style size)
(flex-flow-style flex-flow)
A cross-browser helper function to output flex-flow with all it's potential browser prefixes
A cross-browser helper function to output flex-flow with all it's potential browser prefixes
(h-split &
{:keys [size width height on-split-change initial-split splitter-size
margin document]
:or {size "auto"
initial-split 50
splitter-size "8px"
margin "8px"
document js/document}
:as args})
Returns markup for a horizontal layout component
Returns markup for a horizontal layout component
(sum-scroll-offsets node)
Given a DOM node, I traverse through all ascendant nodes (until I reach body), summing any scrollLeft and scrollTop values and return these sums in a map
Given a DOM node, I traverse through all ascendant nodes (until I reach body), summing any scrollLeft and scrollTop values and return these sums in a map
(v-split &
{:keys [size width height on-split-change initial-split splitter-size
margin document]
:or {size "auto"
initial-split 50
splitter-size "8px"
margin "8px"
document js/document}})
Returns markup for a vertical layout component
Returns markup for a vertical layout component
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close