Skip to content

Support for Pointer Events

Compare
Choose a tag to compare
@stuyam stuyam released this 26 Feb 20:10
· 37 commits to master since this release

This release has a few great improvements. 😄

Features

  1. Support for Pointer Events! #60
    That means that any browser that supports Pointer Events and any device that gives a pressure reading should now work on pressure. Things like Microsoft Surfaces and Wacom Tablets will now work with pressure. 🎉

This also means that pressure is now more future proofed now that more browsers are adding support for pointer events! Can I Use Pointer Events

  1. Support for polyfillSpeedDown #56
    Now you can set a speed in which you want the polyfill to "decrease" once the mouse or touch is released. By default this value is set to 0 so when you release your finger it snaps back to 0.

Changes

  1. The only setting now accepts touch, mouse, or pointer to specify if you want pressure to only respond to specific events.

  2. The polyfillSpeedsetting has been changed to polyfillSpeedUp because the polyfillSpeedDown was added to this release.