Skip to content

Commit 5f34672

Browse files
committed
Update README.md
1 parent e11c3a3 commit 5f34672

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ This project can be integrated into any AMD capable javascript application.
3737

3838
##Usage
3939
1. Require the module `dpointer/events`
40-
2. Set the attribute `data-touch-action` as appropriate
41-
2. Start listening to Pointer Events:
40+
2. Set the attribute `data-touch-action` on elements you want to handle pointer events. Example: `<div data-touch-action="none"> </div>`
41+
3. Start listening to Pointer Events:
4242
`pointerdown, pointerup, pointercancel, pointermove,`
4343
`pointerover, pointerout, pointerenter, pointerleave, gotpointercapture and lostpointercapture`.
4444

0 commit comments

Comments
 (0)