About
The JS Blocks editor allows the user to use blocks to generate javascript code.
The generated code from the above diagram:
Commands
Cut, copy and paste
Use this commands to move block to and from clipboard.
Accessing program's variables
Access the program variables.
Adding virtual points
Add virtual points to use them in the block editor.
Undo and Redo
Undo an action or redo it (after undo).
Blocks
Action Blocks
CSS Blocks
addClass
add a single class to a component
addMultiClasses and removeMultiClasses
add multple classes to a component or remove multiple classes from a component
multiStyles
add multiple styles properties to a component
setComponentStyle
set a single style property to a component
General Blocks
finstackEval
use this block to evaluate axon code
foldCol
this blocks apply a function on a column of a table
forEach
runs an action on each element of an input array
hide
hide one or more components
moveTo
move a component
Querying
queryAll
use this block return multiple results
query
use this block to return a single result
component
use this block to select a single component
Examples
Coils and Fan Example
an example that uses the switch block and other blocks like multiActions, multiQueries, multiSetValue and getCurVal