Liking cljdoc? Tell your friends :D
ClojureScript only.

mafs.debug


TransformWidgetcljs

(TransformWidget & children)

Component that wraps any supplied children in an interactive transformation widget that lets you rotate, scale and translate all children.

Component that wraps any supplied children in an interactive transformation
widget that lets you rotate, scale and translate all children.
sourceraw docstring

ViewportInfocljs

(ViewportInfo)
(ViewportInfo opts)

Component that mounts a ViewportInfo component into the Mafs scene.

This component displays Mafs' understanding of the world space that's in view, showing both the minimum and maximum x and y values, as well as what panes are visible according to the pane context.

Supported options:

  • :precision: The number of decimal places to which to round the displayed values. Defaults to 3.
Component that mounts a `ViewportInfo` component into the Mafs scene.

This component displays Mafs' understanding of the world space that's in view,
showing both the minimum and maximum x and y values, as well as what panes are
visible according to the pane context.

Supported options:

- `:precision`: The number of decimal places to which to round the displayed
  values. Defaults to 3.
sourceraw docstring

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

× close