I know we can add id, css classes and choose the decorator element type, however, my requirement is to add data-attributes to decorator element. is there a way to achieve it?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Hi @harish_malineni ,
As per the documentation, you can add any property names on cq:htmlTag node of a component and that will be added to the decoration tag:
A working example:
Hi @harish_malineni ,
As per the documentation, you can add any property names on cq:htmlTag node of a component and that will be added to the decoration tag:
A working example:
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies