Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The InputDeviceCapabilities() constructor creates a new InputDeviceCapabilities object provides information about the physical device responsible for generating a touch event.
new InputDeviceCapabilities()
new InputDeviceCapabilities(InputDeviceCapabilitiesInit)InputDeviceCapabilitiesInit OptionalA dictionary object containing a set of device capabilities. It contains the following property.
fireTouchEvents: A boolean value that indicates whether the device dispatches touch events.An instance of the InputDeviceCapabilities interface.