Support for Pointer Events
This release has a few great improvements. 😄
Features
- 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
- 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
-
The
only
setting now acceptstouch
,mouse
, orpointer
to specify if you want pressure to only respond to specific events. -
The
polyfillSpeed
setting has been changed topolyfillSpeedUp
because thepolyfillSpeedDown
was added to this release.