Skip to content

API Index

Building SVG

Building SVG with pure function calls.

  • cm.shape - create a SVG with the specified attributes and child nodes.

Applying Reactivity

Applying fine-grained state observation.

  • cm.reactive - create a reactive scope, where store the declared states.
  • reactive.let - declare a state.
  • reactive.join - get the states from the reactive scope.
  • cm.$ - define a reactive callback.