javascript - Raphael transparent element onclick -
how can make fill of transparent element in raphael clickable? after specifying fill:"none" element (e.g. rect) frame clickable. need put fill:"none" in order make other elements previous layers visible.
in svg use pointer-events
, raphael not support them (as there's no equivalent in vml). way accomplish clickable transparent fills in raphael specify fill 0 transparency transparent fill, i.e. fill: "rgba(0,0,0,0)"
or specify fill , fill-transparency: 0
.
Comments
Post a Comment