Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

D3 mouse release event

I am looking for release event on D3.

Actually, my examples has:

.on("mouseover", function(data){...} )
.on("mousemove", function(data){...} )
.on("mouseout", function(data){...} )

which works perfect, but if I try to do something like:

.on("release", function(data){...} )

it doesn't works.

Any idea?

like image 741
todotresde Avatar asked Mar 07 '12 18:03

todotresde


1 Answers

Done!

The attribute is:

.on("mouseup", function(data){alert(1);} );

The problem also was related where I

like image 199
todotresde Avatar answered Nov 04 '22 23:11

todotresde