Liking cljdoc? Tell your friends :D

re-frisk.ui.components.splits


drag-handlecljs

(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
sourceraw docstring

flex-child-stylecljs

(flex-child-style size)
source

flex-flow-stylecljs

(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
sourceraw docstring

h-splitcljs

(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
sourceraw docstring

sum-scroll-offsetscljs

(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
sourceraw docstring

v-splitcljs

(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
sourceraw docstring

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

× close