Just a quick question: is it possible to assign a gradient color to a layer and then modifying it at a given event?
You can modify the gradient color, but you cannot animate it directly
example.style = background : "linear-gradient(45deg, #000, #fff)"
...mmhh...what is the right syntax to assign the gradient?
Emanuele's notation works. One alternative way is:
Thank you, guys! :)