How to make repeated elements alternate their styles?

How would one pull off a alternating left-right, right-left layout in Plasmic with repeated elements?

Only in a hacky way for now - can try setting the styles attribute to a dynamic value like:

{flexDirection: currentIndex % 2 === 0 ? 'row' : 'row-reverse'}