mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Merge db4747506a
into dff69e9191
This commit is contained in:
commit
7f1ecaf40b
1 changed files with 2 additions and 2 deletions
|
@ -73,10 +73,10 @@ Here you can try saving the data to your backend or local storage for example.
|
|||
This callback is triggered when mouse pointer is updated.
|
||||
|
||||
```js
|
||||
({ x, y }, button, pointersMap}) => void;
|
||||
({pointer, button, pointersMap}) => void;
|
||||
```
|
||||
|
||||
1.`{x, y}`: Pointer coordinates
|
||||
1.`pointer`: [`CollaboratorPointer`](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L61) having the pointer coordinates and type.
|
||||
|
||||
2.`button`: The position of the button. This will be one of `["down", "up"]`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue