GeezerVison is showing maxgraph.github.io — PanningManager | @maxgraph/core
Implements a handler for panning.
Constructors
Properties
active
active: boolean = false
border
border: number = 0
Border to handle automatic panning inside the component. Default is 0 (disabled).
damper
damper: number = ...
Damper value for the panning. Default is 1/6.
delay
delay: number = 10
Delay in milliseconds for the panning. Default is 10.
destroy
destroy: () => void
getDx
getDx: () => number
getDy
getDy: () => number
handleMouseOut
handleMouseOut: boolean = true
Specifies if mouse events outside the component should be handled. Default is true.
isActive
isActive: () => boolean
panTo
panTo: (x: number, y: number, w?: number, h?: number) => void
scrollbars
scrollbars: boolean = false
scrollLeft
scrollLeft: number = 0
scrollTop
scrollTop: number = 0
thread
thread: number | null = null