Hi,
I am new to sightly. I am trying to write data-sly-test statement for JPEG and PNG like this:
<sly data-sly-test="${properties.assetFormat==('image/png' || 'image/jpeg')}">
//some code here
</sly>
With this statement it is only displaying images with dc:format image/png not for images with dc:format image/jpeg. If i reverse the order, then it only looks for image/jpeg. I tried various different approaches but nothing worked.
Does any one have any suggestion on how to use OR properly with data-sly-test?