Outside of “Dev Mode”, I’ve set the below arrow to animate using “reveal” from the “top” direction. The arrow appears like it’s dripping downward.
I would like to set this animation to repeat infinitely. Based on the available API references, I think the below code gets me partway there. I can’t figure out how/where to build in the “reveal” animation and “direction”: “top”, though. Any help from the brilliant folks in this community would be greatly appreciated! Thanks all.
import wixAnimations from ‘wix-animations’;
let timeline = wixAnimations.timeline( {“repeat”:-1} );
$w.onReady( function () {
const myImage1 = $w(“#downarrow1”);
timeline
.add(
[myImage1],
{
“duration”: 1200
}
)
.play();
} );