/pointer-events-debugger

A simple page displaying important pointer event data

Primary LanguageJavaScriptThe UnlicenseUnlicense

pointer-events-debugger

A simple page displaying important pointer event data

The PointerEvents API is fairly new, and some browsers are not yet completely consistent with the W3C spec or even their own documentation.

Usage

View/Record Events Data

  1. Visit https://evitolins.github.io/pointer-events-debugger/
  2. Click and drag anywhere in the window
  3. Eventually, enough actions are recorded and the page will automatically prompt you to save a .json data file

Download Event Log

  1. Simply click the button "Download Log" to download a JSON file of all the activity performed.

Event Filtering

You can filter what events are actually recorded by entering them by name in the URL like so:

https://evitolins.github.io/pointer-events-debugger/#pointermove,pointerdown,pointerup

TIP: See javascript code for a list of "listenable_events"