Assign
Assign operator allows to change control properties. It changes property instantly when steps starts, which means change is not animated, however step duration rules still apply.
a <- property: value
- DABL
- HTML
title: 'color and text change'
dot id: d1 text: 'dot' at: [-2,-1] radius: 45
step: 'change dot to blue and set new text' duration: 200ms
d1 <- color: blue text: 'tod'
<dot-and-box
controls
style="height: 250px"
code="
title: 'color and text change'
dot id: d1 text: 'dot' at: [-2,-1] radius: 45
step: 'change dot to blue and set new text' duration: 200ms
d1 <- color: blue text: 'tod'"
>
</dot-and-box>