The defaults of FillHandleOptionsIf.

Example

const options = FillHandleOptions.create(true);
options?.direction; // "both"

Since

1.1.96

Hierarchy

  • FillHandleOptions

Implements

Constructors

Properties

autoScrollMaxSpeedInPx: number = 24

Maximum auto-scroll speed in px per animation frame (default 24).

autoScrollZoneInPx: number = 40

Width in px of the zone at the edges of the body that scrolls automatically (default 40).

direction: "both" | "vertical" | "horizontal" = "both"

Allowed directions: "vertical" (down/up), "horizontal" (right/left) or "both" (default).

dragThresholdInPx: number = 3

Distance in px the pointer has to move before a fill starts (default 3).

fillValue?: ((ctx) => unknown) = undefined

Type declaration

maxCells: number = 100_000

At most this many cells are filled at once (default 100,000); a bigger fill is refused and announced.

Methods