Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

zoom

Creates a new zoom behavior. The returned behavior, zoom, is both an object and a function, and is typically applied to selected elements via selection.call.

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.

function zoom<ZoomRefElement extends ZoomedElementBaseType, Datum>(): ZoomBehavior<ZoomRefElement, Datum>;
§
zoom<ZoomRefElement extends ZoomedElementBaseType, Datum>(): ZoomBehavior<ZoomRefElement, Datum>
[src]

§Type Parameters

§
ZoomRefElement extends ZoomedElementBaseType
[src]
§
Datum
[src]

§Return Type

§
ZoomBehavior<ZoomRefElement, Datum>
[src]