Pressure.js – A JavaScript library for handling Force Touch and 3D Touch on the web

Advertisement

Pressure is a JavaScript library that makes dealing with Apple’s Force Touch and 3D Touch simple. Force Touch for new Macs and 3D Touch for the new iPhone 6s and 6s Plus, all bundled under one roof with a simple API that makes working with them painless.

Pressure gives you a handle on browsers that do and don’t support Force or 3D touch so you can plan for the users experince if they don’t support it.

Current Browser/Device Support

– iPhone 6s (safari)
– iPhone 6s Plus (safari)
– MacBook 2015 (safari)
– 13″ MacBook Pro 2015 (safari)
– 15″ MacBook Pro 2015 (safari)
– Magic Trackpad 2 (safari)
(future devices and browser that support force will be added when they come out)

pressure

Pressure.js

View All Free Tools