data-sly-resource render experience-fragment in a custom component and pass a variable to experience-fragment
HI,
I ve got a custom component which renders a list of experience Fragments.
Experience Fragments includes a custom component as well.
please see code in my component html file:
<sly data-sly-list.stageListItems="${stages.stageSlideList}">
<div class="stage-item">
<sly data-sly-test="${stageListItems.stagePath}" data-sly-resource="${stageListItems.stagePath @wcmmode='disabled',selectors='content'}" />
</div>
</sly>
I want to pass a variable to data-sly-resource (you are the first item)
so experience fragment rendering process will pass that variable to custom component inside of it and html template of that component will use that variable value to render itself accordingly.
Would be great if you could share a solution how to accomplish that.
so experience fragment rendering process will pass that variable to custom component inside of it and html template of that component will use that variable value to render itself accordingly.
Would be great if you could share a solution how to accomplish that.
thanks a lot for your support in advance.
--
Volker
--
Volker