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")
网友评论