makis2404
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by makis2404
-
-
Thanks. It is amazing!
- 1
-
Yes. Thanks. Do you think d3 is fully compatible with gsap? Because It would be very Helpful!
-
When I want to add an event handler to an svg element how can I select it?
With DOM. Yes.
With jquery?
With ... d3.js?
Is there any incompatibillities with d3.js?
JS Bin often can't accept libraries on top of gsap
in GSAP
Posted
Very often when trying to work with JQuery or D3.js on top of Gsap there is something that gows wrong and only pure DOM (after closing other libraries) can manage events with event handlers. And I have the idea that it is JS Bin that causes the problem. Have you seen any JSBin issues like that?
e.g. var $btn = $("#btn_1")
$btn.on("click",function(){//some TweenMax.to ...})
or
d3.select("#btn_1").on("click",someFunction)
they can't work properly.
But after turn it to: document.getElementById("btn_1").addEventListener("click",someFunction)
can proceed.