I am using Snap.svg to make elements of my SVG interactive.
How can I move an Element.group
group of shapes in 'front' of all my other shapes? This action will take place upon a hover.
A simple JSFiddle example here:
http://jsfiddle.net/offmilk/b0av7jx6/
I'm trying to get the back two circles to come to the front when they are hovered over.
I know Raphaƫl has similar functionality for individual elements in the form of Element.toFront()
. The creator of both answers a similar question here, but I'm unable to add his solution to my hover
set-up.
Thanks in advance for your help!