npm.io
3.0.2 • Published 2 weeks ago

d3-dispatch

Licence
ISC
Version
3.0.2
Deps
0
Size
12 kB
Vulns
0
Weekly
0
Stars
76

d3-dispatch

Dispatching is a low-level interaction mechanism that allows you to register named callbacks and then call them with arbitrary arguments. A variety of D3 interaction components, such as d3-drag, use this mechanism to emit events to listeners. Think of this like Node’s EventEmitter, except every listener has a well-defined name so it’s easy to remove or replace them.

Resources

Keywords