Skip to main content

Reference

HTML5 Pointer Events Documentation

The HTML5 Pointer events API is an open, industry-wide protocol that is defined by the World Wide Web Consortium: www.w3.org

The HTML5 Pointer events description and API can be found at:

https://www.w3.org/TR/pointerevents/

This document covers the following topics:

  • Overview of the HTML5 Pointer Events model and API:
    • Pen, touch and mouse agnostic pointers
    • Primary HTML5 Pointer Events pointer
    • HTML5 Pointer Events
    • HTML5 Pointer Events Attributes
    • Pointer capture
    • HTML5 Pointer Events Actions
    • Pen buttons
  • Code snippets showing how to use the API

Another very good reference document that provides a concise API overview as well as live HTML5 Pointer Events demos:

https://mobiforge.com/design-development/html5-pointer-events-api-combining-touch-mouse-and-pen

Mozilla also has a fine overview of HTML5 Pointer Events concepts with sample code:

https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events

See Also

Overview – Overview to the HTML5 Pointer Events Documentation API

Basics – Basic HTML5 Pointer Events information

FAQs - HTML5 Pointer Events Documentation tips

Sample Code - Full HTML5 Pointer Events demo sample

These sites also provide very good API overviews with even more programming examples: