How to pass parameters to Sling Modal from Sightly Component
Hi ,
I am trying to pass some custom parameters from my Sightly Component to Sling Model. But I am not able to read those passed parameters inside my Sling Model.
Below is my sightly code :
<sly data-sly-use.mySlingModal="${'com.adobe.website.models.ImageModel' @ colour='red', path=resource.path}"></sly>
How to read color and path in side my sling model java class.
Can you please help me in solving this.
