Class PanningManager

Implements a handler for panning.

Constructors

Properties

active: boolean = false
border: number = 0

Border to handle automatic panning inside the component. Default is 0 (disabled).

damper: number = ...

Damper value for the panning. Default is 1/6.

delay: number = 10

Delay in milliseconds for the panning. Default is 10.

destroy: () => void
dx: number = 0
dy: number = 0
getDx: () => number
getDy: () => number
handleMouseOut: boolean = true

Specifies if mouse events outside of the component should be handled. Default is true.

isActive: () => boolean
mouseListener: MouseListenerSet
mouseUpListener: MouseEventListener
panTo: (x: number, y: number, w?: number, h?: number) => void
scrollbars: boolean = false
scrollLeft: number = 0
scrollTop: number = 0
start: () => void
stop: () => void
t0x: number = 0
t0y: number = 0
tdx: number = 0
tdy: number = 0
thread: null | number = null