Pointer Events

Written by mozilla | Published 2020/06/05
Tech Story Tags: beginners | mdn-documentation | website-development | mozilla | tutorial | javascript | coding | frontend

TLDR Pointer events are DOM events that are fired for a pointing device. They are designed to create a single DOM event model to handle pointing input devices such as a mouse, pen/stylus or touch (such as one or more fingers) The PointerEvent interface inherits all of the MouseEvent properties, thus facilitating the migration of content from mouse events to pointer events. A pointer event contains the usual properties present (client coordinates, target element, button states, pressure, contact geometry, tilt, etc.) in addition to new properties for other forms of input.via the TL;DR App

no story

Written by mozilla | Mozilla (stylized as moz://a) is a free software community founded in 1998 by members of Netscape.
Published by HackerNoon on 2020/06/05