I have an image component which i have dragged on same page two times, i want two different designs for both. How can i achieve that?
Solved! Go to Solution.
Hi Shikha, you can refer Style system for your use case. Please refer this link which explains likewise use case:
I believe using style system you could achieve this. You need to define styles via component policy as shown below -
Then define your styles here as per your requirement -
Please refer AEM GEEKS style system video , it will help to implement.
But style needs to be different for the same component dragged two times in same page.
Using that it will have same style for the component if i will drag and drop it two times in the same page.
+1 for Debal's comment. Style system is the solution for your use case. You can refer to this link which demonstrate exact same use case as yours: https://medium.com/adobetech/using-aem-style-system-to-increase-reusability-of-components-8177c5b65c...
Hi Shikha, you can refer Style system for your use case. Please refer this link which explains likewise use case:
Views
Likes
Replies