Skip to Content

Eval

Advanced command to allow special combinations. The @eval() command can be used in all design properties. Its operation consists of invoking the JavaScript eval function.

Example

{ "type": "Image", "url": "@eval({base.urls.previewUrl} || {base.image.preview})", "fallbackImageUrl": "https://spoprod-a.akamaihd.net/default.jpg", "resolution": 1, "style": { "margin": "0px", "border-radius": "5px 5px 0px 0px", "width": "100%", "height": "150px", "objectFit": "cover" } }
Last updated on