Interface PanButtonsPluginOptions

Options for the pan buttons plugin.

interface PanButtonsPluginOptions {
    panDistance: number;
    panRepeatDistance?: number;
    panRepeatInterval?: number;
    startPanTimeout?: number;

Hierarchy (view full)


panDistance: number

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

panRepeatDistance?: number

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

panRepeatInterval?: number

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

startPanTimeout?: number

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