Skip to content

Function: d3pEvent() ​

ts
function d3pEvent<P>(description?): D3PEvent<P>;

Defined in: core/bus.ts:13

Creates an event: a unique symbol, typed by its payload, that can be emitted and listened to on a bus.

Type Parameters ​

P ​

P = void

Parameters ​

description? ​

string

Returns ​

D3PEvent<P>