@ricardorosenblatt so you’ll need to make the calculation in a repeater onItemReady() function (and not onViewportEnter):
https://www.wix.com/corvid/reference/$w.Repeater.html#onItemReady
Don’t forget to use $item instead of $w.
@ricardorosenblatt so you’ll need to make the calculation in a repeater onItemReady() function (and not onViewportEnter):
https://www.wix.com/corvid/reference/$w.Repeater.html#onItemReady
Don’t forget to use $item instead of $w.