美文网首页
[framer学习]animation(1)

[framer学习]animation(1)

作者: Ludiwgbet | 来源:发表于2016-11-20 14:08 被阅读24次
    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")
    

    相关文章

      网友评论

          本文标题:[framer学习]animation(1)

          本文链接:https://www.haomeiwen.com/subject/ynqypttx.html