The JS Blocks editor allows the user to use blocks to generate javascript code.
The generated code from the above diagram:
Use this commands to move block to and from clipboard.
Access the program variables.
Add virtual points to use them in the block editor.
Undo an action or redo it (after undo).
add a single class to a component
add multple classes to a component or remove multiple classes from a component
add multiple styles properties to a component
set a single style property to a component
hide one or more components
move a component
this blocks apply a function on a column of a table
runs an action on each element of an input array
use this block to select a single component
use this block to evaluate axon code
use this block to return a single result
use this block return multiple results
an example that uses the switch block and other blocks like multiActions, multiQueries, multiSetValue and getCurVal