Permalink
Browse files

Example

  • Loading branch information...
koenbok committed Nov 8, 2016
1 parent 56a6d73 commit 59012160c59ca81e53eedc626e39c87c57ab0e46
Showing with 13 additions and 4 deletions.
  1. +10 −0 extras/Studio.framer/app.coffee
  2. +3 −4 extras/Studio.framer/framer/config.json
@@ -0,0 +1,10 @@
+layer = new Layer
+animation = new Animation layer, {y: 500},
+ onStart: -> print "start"
+ onBreak: -> print "break"
+ onEnd: -> print "end"
+ onStop: -> print "stop"
+
+animation.start()
+
+Utils.delay 0.3, -> animation.stop()
@@ -5,13 +5,12 @@
"deviceOrientation" : 0,
"sharedPrototype" : 1,
"contentScale" : 1,
- "deviceType" : "apple-macbook",
+ "deviceType" : "fullscreen",
"selectedHand" : "",
"updateDelay" : 0.3,
- "deviceScale" : "fit",
+ "deviceScale" : 1,
"foldedCodeRanges" : [
],
- "orientation" : 0,
- "fullScreen" : false
+ "orientation" : 0
}

0 comments on commit 5901216

Please sign in to comment.