A lightweight wrapper over cell values that allows combining both simple and wrapped cells with new styles and dimensions.
A lightweight wrapper over cell values that allows combining both simple and wrapped cells with new styles and dimensions.
(data x)
If x
contains cell data wrapped in a map (with style & dimension data),
return the wrapped cell value. Otherwise return as-is.
If `x` contains cell data wrapped in a map (with style & dimension data), return the wrapped cell value. Otherwise return as-is.
(dims x)
(dims x dims-map)
Get the {:width N, :height N} dimension map for x
, or merge in the given
dims-map
of the same format.
Get the {:width N, :height N} dimension map for `x`, or merge in the given `dims-map` of the same format.
(style x)
(style x style-map)
Get the style specification for x
, or deep-merge its current style spec
with the given style-map
.
Get the style specification for `x`, or deep-merge its current style spec with the given `style-map`.
(wrapped x)
If x
contains cell data wrapped in a map (with style & dimension data),
return it as-is. Otherwise return a wrapped version.
If `x` contains cell data wrapped in a map (with style & dimension data), return it as-is. Otherwise return a wrapped version.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close