Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GestureStreamOpts

Hierarchy

  • IID<string>
    • GestureStreamOpts

Index

Properties

absZoom

absZoom: boolean

If true, the produced zoom values are considered absolute and will be constrained to the minZoom .. maxZoom interval. If false, the zoom values are relative and simply the result of event.deltaY * smooth.

Default: true

eventOpts

eventOpts: boolean | AddEventListenerOptions

Event listener options (see standard addEventListener()) Default: false

id

id: string

local

local: boolean

Local coordinate flag. If true (default), the elements position offset is subtracted.

maxZoom

maxZoom: number

Max zoom value. Default: 4

minZoom

minZoom: number

Min zoom value. Default: 0.25

preventDefault

preventDefault: boolean

If true, calls preventDefault() for each event. Default: true

scale

scale: boolean

If true (default: false), all positions and delta values are scaled by window.devicePixelRatio. Note: Only enable if local is true.

smooth

smooth: number

Scaling factor for zoom changes. Default: 1

zoom

zoom: number

Initial zoom value. Default: 1

Generated using TypeDoc