, ,, , ,, , , , image/svg+xml , image/svg+xml , interact.js , image/svg+xml , ,, , ,

@interactjs / snappers/grid

Module: snappers/grid

Table of contents

Interfaces

Type Aliases

Functions

Type Aliases

GridOptions

Ƭ GridOptions: GridOptionsXY | GridOptionsTopLeft | GridOptionsBottomRight | GridOptionsWidthHeight

Defined in

snappers/grid.ts:26

Functions

default

default(grid): SnapFunction & { coordFields: (readonly ["x", "y"] | readonly ["left", "top"] | readonly ["right", "bottom"] | readonly ["width", "height"])[] ; grid: GridOptions }

Parameters

NameType
gridGridOptions

Returns

SnapFunction & { coordFields: (readonly ["x", "y"] | readonly ["left", "top"] | readonly ["right", "bottom"] | readonly ["width", "height"])[] ; grid: GridOptions }

Defined in

snappers/grid.ts:28