d3 / d3-dispatch

Register named callbacks and call them with arguments.

Home Page:https://d3js.org/d3-dispatch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Register named callbacks and call them with arguments.

https://d3js.org/d3-dispatch

License:ISC License


Languages

Language:JavaScript 100.0%