mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-13 10:14:50 +02:00
Update README.md
This commit is contained in:
@@ -116,7 +116,7 @@ In addition, the terrariumElement that is passed to this function is assigned a
|
||||
|
||||
## The Pointerdrag function
|
||||
|
||||
The terrariumElement is ready to be dragged around; when the `onpointerdown` event is fired, the function pointerDrag is invoked. Add that function right under this line: `terrariumElement.onpointerdown = pointerDrag;`:
|
||||
The `terrariumElement` is ready to be dragged around; when the `onpointerdown` event is fired, the function `pointerDrag` is invoked. Add that function right under this line: `terrariumElement.onpointerdown = pointerDrag;`:
|
||||
|
||||
### Task
|
||||
|
||||
|
Reference in New Issue
Block a user