@interactjs / snappers/grid
Module: snappers/grid
Table of contents
Interfaces
Type Aliases
Functions
Type Aliases
GridOptions
Ƭ GridOptions: GridOptionsXY
| GridOptionsTopLeft
| GridOptionsBottomRight
| GridOptionsWidthHeight
Defined in
Functions
default
â–¸ default(grid
): SnapFunction
& { coordFields
: (readonly ["x"
, "y"
] | readonly ["left"
, "top"
] | readonly ["right"
, "bottom"
] | readonly ["width"
, "height"
])[] ; grid
: GridOptions
}
Parameters
Name | Type |
---|---|
grid | GridOptions |
Returns
SnapFunction
& { coordFields
: (readonly ["x"
, "y"
] | readonly ["left"
, "top"
] | readonly ["right"
, "bottom"
] | readonly ["width"
, "height"
])[] ; grid
: GridOptions
}