Skip to content Skip to sidebar Skip to footer

How Do You Make An Element Undragable In Raphael?

I made an element dragable using element.drag(start, move, up); When I want to make the element undragable, I can somewhat achieve this using the method from the documentation: ele

Solution 1:

Got it to work in 2.0

I had to change

this.undrag(notDefinedVariable); // Try to make it undragable

to

this.undrag(); // Try to make it undragable

Undefined had to be included in previous version to make it 1/2 work as described above.

Solution 2:

This is known bug. Will be fixed in the next release.

Post a Comment for "How Do You Make An Element Undragable In Raphael?"