mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #22028 from georgberecz/Add-onMouseDrag-to-paper-Item
[paper] Add onMouseDrag to Item type
This commit is contained in:
Vendored
+6
-1
@@ -1305,7 +1305,12 @@ declare module 'paper' {
|
||||
* The function to be called when the mouse button is pushed down on the item. The function receives a MouseEvent object which contains information about the mouse event.
|
||||
*/
|
||||
onMouseDown: (event: MouseEvent) => void;
|
||||
|
||||
|
||||
/**
|
||||
* The function to be called when the mouse position changes while the mouse is being dragged. The function receives a MouseEvent object which contains information about the mouse event.
|
||||
*/
|
||||
onMouseDrag: (event: MouseEvent) => void;
|
||||
|
||||
/**
|
||||
* The function to be called when the mouse button is released over the item.
|
||||
* The function receives a MouseEvent object which contains information about the mouse event.
|
||||
|
||||
Reference in New Issue
Block a user