I am creating a reusable component which is showing a rounded image thumbnail as content. I want to detect within this component if a developer has assigned a click listener to it and modify the style and behaviour of it slightly. Basically add a cursor: pointer
style if a developer assigned a (click)=anyClickCallbackFunction()
on the component.
The question is, how can i read this from within the component?