Skip to content

Commit

Permalink
Added how to use
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres-remote committed May 23, 2012
1 parent d2d620d commit aabd6e6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@
This is a reference implementation of the W3C's Proximity Sensor related specifications, namely:

* [Proximity Events](http://dvcs.w3.org/hg/dap/raw-file/tip/proximity/Overview.html)
* [User Proximity](http://dvcs.w3.org/hg/dap/raw-file/tip/proximity/userproximity.html)

# Using for testing

Just do this and you are good to go:

* window.addEventListener('deviceproximity', function(e) { ... })
* window.addEventListener('userproximity', function(e) { ... })

0 comments on commit aabd6e6

Please sign in to comment.