Skip to content
Advertisement

Tag: raphael

raphael js Pan functionality using raphael-pan-zoom

I found a plugin called raphael-pan-zoom that I use to zoom-in and zoom-out my raphaeljs elements in my paper, the zoom worked perfectly, but when I wanted to move the paper to the left, right, top or down I didn’t success. I found in the “raphael.pan-zoom.js” the pan function : I don’t know what is deltaX and deltaY and how

Raphaël Object: Simulate click

It it possible to simulate an click on an Raphaël object? I tried already Answer Just access the DOM node using Element.node as described in the docs. You can then trigger events on the node as you would with any other DOM element http://jsfiddle.net/UFZXP/ http://lifescaler.com/2008/04/simulating-mouse-clicks-in-javascript/

Advertisement