Skip to content

Interface: Config

This interface contains properties that determine the behavior of the InfiniteCanvas.

Hierarchy

Properties

greedyGestureHandling

greedyGestureHandling: boolean

If true, this means that the InfiniteCanvas will pan when touched with one finger, and that it will zoom when the user scrolls without pressing the Ctrl key

Default Value

ts
false

Defined in

config.ts:18


rotationEnabled

rotationEnabled: boolean

Determines whether rotating the InfiniteCanvas is possible or not

Default Value

ts
true

Defined in

config.ts:12


units

units: Units

Determines the units to use when drawing on an InfiniteCanvas

Default Value

ts
{@link Units.CANVAS}

Defined in

config.ts:24