Event listener options (see standard addEventListener()
)
Default: false
Local coordinate flag. If true (default), the elements position offset is subtracted.
Max zoom value. Default: 4
Min zoom value. Default: 0.25
If true
, calls preventDefault()
for each event.
Default: true
If true (default: false), all positions and delta values are
scaled by window.devicePixelRatio
. Note: Only enable if local
is true.
Scaling factor for zoom changes. Default: 1
Initial zoom value. Default: 1
Generated using TypeDoc
If true, the produced
zoom
values are considered absolute and will be constrained to theminZoom .. maxZoom
interval. Iffalse
, the zoom values are relative and simply the result ofevent.deltaY * smooth
.Default: true