AL
Size: a a a
AL
AL
EE
EE
AL
PN
Rectangle.states.a =
y: 166
borderRadius: Rectangle.width/2
backgroundColor: "rgba(255,47,146,1)"
Rectangle.onTap (event, layer) ->
Rectangle.stateCycle()
AL
SN
SN
СО
Rectangle.states.a =
y: 166
borderRadius: Rectangle.width/2
backgroundColor: "rgba(255,47,146,1)"
Rectangle.onTap (event, layer) ->
Rectangle.stateCycle()
animationTime = .5
Framer.Defaults.Animation =
time: animationTime
layer = new Layer
container = new Layer
layer.props =
parent: container
layer.states.rounded =
borderRadius: "8px"
layer.states.colored =
backgroundColor: "blue"
containerFrame = container.frame
container.states.rise =
y: containerFrame.y - 100
layer.onTap ->
container.stateCycle()
Utils.delay animationTime/2, ->
layer.stateCycle()
Utils.delay animationTime, ->
layer.stateSwitch("colored")
СО
AL
RK
СО
СО
СО
СО
EE

EE