I am implementing this within my solution: Delegation Pattern for Sling Models · adobe/aem-core-wcm-components Wiki (github.com). I'm inheriting the core Image component and extending it with some additional properties and markup.
Within Sightly, is there a way to just render the delegated component?
For instance, I want to do something like this:
<section data-sly-use.custom="...">
<h1>${custom.someProp}</h1>
<!-- render injected delegate here. In my case, it's custom.image -->
</section>
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @dylanmccurry ,
I hope this what your looking for, it explains how delegation of Image component works and how can you call the custom attributes in sightly.
https://kiransg.com/2021/11/07/aem-core-component-delegation/
Hope this helps!!!
Hi @dylanmccurry ,
I hope this what your looking for, it explains how delegation of Image component works and how can you call the custom attributes in sightly.
https://kiransg.com/2021/11/07/aem-core-component-delegation/
Hope this helps!!!
Hi dylanmccurry-msft
Please refer this
https://aemexplained.wordpress.com/aem-guide/extending-component-using-sling-delegation/
Hope this is also helps .
Views
Likes
Replies
Views
Likes
Replies