How can I change jcr:title of a core component that I bring using data-sly-resource in my custom component ?
I have a custom component and I bring a core component navigation as the snippet below
But, for default the core component brought display the default title Navigation (v2) and I want to change to a custom title like ${properties.itemName}, how can I do that ?
<div class="cmp-subitens--panel">
<div class="cmp-subitens-navigation" data-sly-resource="${'navigation{0}' @ format=itemList.count, resourceType='core/wcm/components/navigation/v2/navigation'></div>
</div>