D3ZoomEvent
A D3 Zoom Event
The first generic refers to the type of reference element to which the zoom behavior is attached. The second generic refers to the type of the datum of the reference element.
interface D3ZoomEvent <ZoomRefElement extends ZoomedElementBaseType, Datum> {
sourceEvent: any;
target: ZoomBehavior<ZoomRefElement, Datum>;
transform: ZoomTransform;
type:
} | "start"
| "zoom"
| "end"
| string;
§Properties
§
target: ZoomBehavior<ZoomRefElement, Datum>
[src]The ZoomBehavior associated with the event
§
transform: ZoomTransform
[src]The current zoom transform