I am new to sightly. Can someone please help me understand the difference between using
<sly data-sly-test ="${condition}" data-sly-unwrap>
and
<div data-sly-test="${condition}" data-sly-unwrap>
I am using this in AEM html. Will there be any structural impact on using the div tag for the conditional statements?
false
side of thedata-sly-test
cases can be understood from the HTL specification, specificallyRemoves the whole element from the markup
. – Yawning