Tweak README
This commit is contained in:
parent
d4ec26fcea
commit
95d5e236b7
@ -29,7 +29,7 @@ Here's a development workflow that we recommend you use.
|
|||||||
|
|
||||||
Improve the mouse so it behaves like a real paintbrush. In other words, allow the user to paint by clicking and dragging across the canvas. For this, you'll need a combination of the `mousedown`, `mouseenter`, and `mouseup` events.
|
Improve the mouse so it behaves like a real paintbrush. In other words, allow the user to paint by clicking and dragging across the canvas. For this, you'll need a combination of the `mousedown`, `mouseenter`, and `mouseup` events.
|
||||||
|
|
||||||
**TIP:** The [`mouseenter` event](https://developer.mozilla.org/en-US/docs/Web/Events/mouseenter) doesn't bubble to up the DOM tree.
|
**TIP:** The [`mouseenter` event](https://developer.mozilla.org/en-US/docs/Web/Events/mouseenter) doesn't bubble up the DOM tree.
|
||||||
|
|
||||||
### Bonus 2
|
### Bonus 2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user