Hi All,
Suppose I have a default component /path/to/menu, and I like to add a selector to it if it meets a condition, can I do this?
// - page is a sling model defined above
<sly data-sly-resource="${@ resourceType='/path/to/menu', data-sly-test=page.collapsedMenu? selectors='collapsed':selectors=''}"></sly>
If not, what would be a possible way doing this within HTL?
Thanks!
-kt