Skip to content

Version 2 of Pressure

Compare
Choose a tag to compare
@stuyam stuyam released this 19 Oct 02:25
· 69 commits to master since this release

50 Commits.
80% of the file size of Pressure 1.
More flexible than Pressure 1.

Biggest Additions to v2.0.0

  • Support for iOS 10.
  • Polyfill is now enabled by default.
  • You can set the polfillSpeed to tell pressure how fast you want it to run for 0 to 1.
  • Support for Pressure is now tested on every single press of an element rather than once per page. This means you could switch between something like a mouse (that does NOT support force touch) and a trackpad (that does support force touch) and Pressure can handle it without having to refresh the page.

Lot's of hard work in this release so check it out and let me know me know what you think! 💥 🎉