OptionalenabledDisable the listeners without unmounting. Default true.
OptionalonFires when the hovered cell changes (including to/from null). Use it
to invalidate your layer renderer.
OptionaloriginOrigin the cell grid is anchored to, in world units. Default (0, 0).
Element to attach pointer listeners to (typically the canvas).
Cell spacing in world units. Same value you pass to createGridLayer
and createCellHighlightLayer.
OptionalunitRequired if spacing is tagged (e.g. { value: 1, unit: 'ft' }).
Read the current view transform. Called on every pointermove so it can reflect live pan/zoom without a re-binding step.
Options for
useGridCellHover.