Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RayPS/Framer-Module-ShakeEvent
Shake event for your prototype.
https://github.com/RayPS/Framer-Module-ShakeEvent
framer framer-component framer-prototype framer-resources framer-studio framerjs module prototype
Last synced: 2 months ago
JSON representation
Shake event for your prototype.
- Host: GitHub
- URL: https://github.com/RayPS/Framer-Module-ShakeEvent
- Owner: RayPS
- Created: 2015-09-14T12:30:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-16T04:00:20.000Z (over 7 years ago)
- Last Synced: 2024-08-04T00:10:16.404Z (6 months ago)
- Topics: framer, framer-component, framer-prototype, framer-resources, framer-studio, framerjs, module, prototype
- Language: CoffeeScript
- Size: 339 KB
- Stars: 62
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-framer - Framer-Module-ShakeEvent - ShakeEvent Module for Framer. (Modules)
README
## ShakeEvent Module for FramerJS
#### DEMO: (Open in your phone)
👉#### Usage:
Place `shakeEvent.coffee` into the `modules` folder of your project.``` coffeescript
ShakeEvent = require "shakeEvent"
# ...
ShakeEvent.onShake = ()->
alert "shaked!"
```#### Options:
``` coffeescript
ShakeEvent.throttleInterval = 1 # Default 1 (secend(s))
ShakeEvent.sensitivity = 20 # Default 20 (a lower number is more sensitivity)
```