Permalink
Browse files

Added shorthands for device orientation and device motion events

  • Loading branch information...
nvh committed Nov 15, 2017
1 parent d1ffabc commit 613c07b30e9bfafaf24f26b4717ebd4220364121
Showing with 4 additions and 0 deletions.
  1. +4 −0 framer/Events.coffee
View
@@ -78,6 +78,10 @@ Events.ImageLoaded = "imageload"
Events.ImageLoadError = "imageerror"
Events.ImageLoadCancelled = "imagecancelled"
# Sensor Events
Events.DeviceOrientation = "deviceorientation"
Events.DeviceMotion = "devicemotion"
# Add all gesture events
_.extend(Events, Gestures)

0 comments on commit 613c07b

Please sign in to comment.