Permalink
Browse files

add event switch shortcuts

  • Loading branch information...
J.P.P Treub
J.P.P Treub committed Mar 19, 2016
1 parent 42e6aa4 commit 489695d4005cfbfc21a84d82de86b2557af6ce3f
Showing with 3 additions and 0 deletions.
  1. +3 −0 framer/Layer.coffee
View
@@ -1032,6 +1032,9 @@ class exports.Layer extends BaseClass
onDragAnimationEnd: (cb) -> @on(Events.DragAnimationEnd, cb)
onDirectionLockStart: (cb) -> @on(Events.DirectionLockStart, cb)
onStateDidSwitch: (cb) -> @on(Events.StateDidSwitch, cb)
onStateWillSwitch: (cb) -> @on(Events.StateWillSwitch, cb)
# Gestures
# Tap

0 comments on commit 489695d

Please sign in to comment.