Hey all! There’s a new CL feature.
If you define a variable in a script for one component (say, a graph component c1
),
message = when c1.number("a") > 0 "positive" otherwise "negative or 0"
You can now refer to it from other components (say, a note component c2
),
content: c1.script.message