[framer学习]animation(1)

2016-11-20  本文已影响24人  Ludiwgbet
layerA =new Layer
  x: 200

layerA.states.stateA =
    y: 500
    animationOptions:
        curve: "bezier-curve"

layerA.states.stateB =
     y:200
     animationOptions:
        curve: "spring-dho"

layerA.onTap ->
    layerA.stateCycle("stateA","stateB","default")
上一篇 下一篇

猜你喜欢

热点阅读