سؤال

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?

Thanks!

هل كانت مفيدة؟

المحلول

Done!

The attribute is:

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

The problem also was related where I

نصائح أخرى

For reference -- D3 only supports native DOM events.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top