Hi,
I have included a component inside other component using data-sly-resource. So how can I pass parameter from the parent to child using data-sly-resource.
Or Is there any other way for that.
Please share your response.
@arunpatidar
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
you can only do it using selectors
<!--/* Manipulating selectors: */-->
<section data-sly-resource="${'my/path' @ selectors='selector1.selector2'}"></section>
<section data-sly-resource="${'my/path' @ selectors=['selector1', 'selector2']}"></section>
you can only do it using selectors
<!--/* Manipulating selectors: */-->
<section data-sly-resource="${'my/path' @ selectors='selector1.selector2'}"></section>
<section data-sly-resource="${'my/path' @ selectors=['selector1', 'selector2']}"></section>