refactor(es modules): continue migration

This commit is contained in:
Azgaar 2022-06-25 20:24:43 +03:00
parent eaa0046e67
commit 4a04a8622d
23 changed files with 121 additions and 77 deletions

5
src/scripts/events.ts Normal file
View file

@ -0,0 +1,5 @@
export function restoreDefaultEvents() {
Zoom.setZoomBehavior();
viewbox.style("cursor", "default").on(".drag", null).on("click", clicked).on("touchmove mousemove", onMouseMove);
legend.call(d3.drag().on("start", dragLegendBox));
}