I am trying to make image clickable. Polymer code looks like:
<div on-click={{clickHandler}}>
<img src="xyz.jpg" />
</div>
in the handler i always get e.target as img, i tried doing
e.stopPropogation it still does not detect click of div.
Any work around this one ??
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/c05369d1-6e68-4889-9fce-d9e24775d2cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.