Closed bdelacretaz closed 6 months ago
Simple bricks might not need JS code, something like this in the HTML templates:
<div class="image-wrapper" data-aem-selector="picture"></div>
can mean "append all nodes matching the 'picture' CSS selector to this element.
Initially I think we'll still need an empty JS class in the brick folder, and that can also be useful it small bits of additional code are required.
Simple bricks might not need JS code, something like this in the HTML templates:
can mean "append all nodes matching the 'picture' CSS selector to this element.
Initially I think we'll still need an empty JS class in the brick folder, and that can also be useful it small bits of additional code are required.