htl pass data between htl
Is there any way we can pass a variable from component to another.
tried
<sly data-sly-resource="${resourceType='my/components/embeddedComponent', myParam='myValue'}></sly>
can I read the myParam in embeddedComponent ?
Is there any way we can pass a variable from component to another.
tried
<sly data-sly-resource="${resourceType='my/components/embeddedComponent', myParam='myValue'}></sly>
can I read the myParam in embeddedComponent ?
Not sure if you can do that. But you can try to pass variable as selectors
<article data-sly-resource="${'path/to/resource' @ selectors='selector'}"></article>
<article data-sly-resource="${'path/to/resource' @ selectors=['s1', 's2']}"></article>
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.