Type alias onZoomCallback

onZoomCallback: ((transform: d3.ZoomTransform) => null)

Type declaration

    • (transform: d3.ZoomTransform): null
    • A callback provided by the consumer, enabling them to hook into zoom events & recieve the zoom transform. For example, a consumer might update annotations on zoom events to keep them in sync.

      Parameters

      • transform: d3.ZoomTransform

      Returns null

Generated using TypeDoc