Liking cljdoc? Tell your friends :D

shadow.ui.position


->boxcljs

(->box c)
source

->coordinatecljs

(->coordinate c)
source

->cornercljs

(->corner c)
source

->overflowcljs

(->overflow keys)
source

->sizecljs

(->size s)
source

anchoredcljs

(anchored anchor
          anchor-corner
          el
          el-corner
          offsets
          margins
          overflow
          preferred-size
          viewport)

position an element at an anchor corner is one of corner-ids offsets is x or [x y] (ints) margins is x [y x] [top right bottom left] (ints, css-style margin, padding) overflow is a set of overflow-bits keywords preferred-size is w [w h] {:w _ :h _}, single number is turned into [w w] viewport nil or see margins

position an element at an anchor
corner is one of corner-ids
offsets is x or [x y] (ints)
margins is x [y x] [top right bottom left] (ints, css-style margin, padding)
overflow is a set of overflow-bits keywords
preferred-size is w [w h] {:w _ :h _}, single number is turned into [w w]
viewport nil or see margins
sourceraw docstring

at-coordinatecljs

(at-coordinate el el-pos)
source

corner-idscljs

source

overflow-bitscljs

source

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

× close