Constructor Dragger
Dragger(Action<PointerMoveEvent>, Action<PointerMoveEvent>, Action<PointerUpEvent>, Action)
Creates a new Dragger instance.
Declaration
public Dragger(Action<PointerMoveEvent> dragStarted, Action<PointerMoveEvent> dragging, Action<PointerUpEvent> dragEnded, Action dragCanceled)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<PointerMoveEvent> | dragStarted | The event that will be fired when a drag starts. |
| Action<PointerMoveEvent> | dragging | The event that will be fired when a drag is in progress. |
| Action<PointerUpEvent> | dragEnded | The event that will be fired when a drag ends. |
| Action | dragCanceled | The event that will be fired when a drag is cancelled. |