OnMoveEnd
The OnMoveEnd type is a callback that fires whenever the viewport stops moving, either through
user interaction or programmatically. It receives the triggering event and the new
viewport state.
It is an alias of the general OnMove callback.
type OnMoveEnd = (event: MouseEvent | TouchEvent | null, viewport: Viewport) => void;| Name | Type | Default |
|---|---|---|
event | MouseEvent | TouchEvent | |
viewport | Viewport |