Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
add event switch shortcuts
- Loading branch information
Showing
with
3 additions
and
0 deletions.
-
+3
−0
framer/Layer.coffee
|
@@ -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 |
|
|