This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Paul Wan
Posted Feb 24 - Read on Facebook

why Framer not support device vibration?
seem to window.navigator.vibrate([200]) return Error info?

5 Comments

Jay Stakelon
Paul Wan

thanks for so quickly reply. the example is so smart.but no effect if device sound set is mute.and I keep my phone was mute state,frequently.:)

Joshua Tucker

Hey Paul! The link Jay Stakelon provided from Ryhan Hassan is your best bet right now for testing effects like that. If you look at the compatibility chart for the API (https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate), .vibrate() is only supported in Chrome and Firefox. Framer's navigator uses AppleWebKit.

Paul Wan

Thanks! It explains the matter.

Daniel Lin

Paul, did you end up finding a way to simulate vibrations on device?

Read the entire post on Facebook