Skip to main content

PanButtonsPluginOptions

Options for the pan buttons plugin.

Extends

Properties

panDistance?

optional panDistance: number

Amount in pixels to pan the surface by when one of the buttons is pressed and released. Defaults to 50.


panRepeatDistance?

optional panRepeatDistance: number

Amount in pixels to adjust pan by each time the timer fires. Defaults to 10.


panRepeatInterval?

optional panRepeatInterval: number

Time in milliseconds between successive adjustment to the pan. Defaults to 60.


startPanTimeout?

optional startPanTimeout: number

Time in milliseconds after the mouse button is pressed before panning should start. Defaults to 150.