(Framer) MultiScreen, states
참고: https://speakerdeck.com/chriscamargo/multi-screen-flows-in-framer
<SuperLayer>
myView=new Layer
width: Screen.width
height: Screen.height
backgroundColor: "white"
myHeader=new Layer
width: Screen.width
height: 64
superLayer: myView
-------------------------------------------------------------------------------------------
myVIew . states . add
pushLeft: { x: -Screen.width}
pushRight: { x: Screen.width}
center: {x: 0}
button_takeTour.on Events.Click, ->
view_intro.states.switch pushLeft
view_tour1.states.switch center
button_tour1_back.on Events.Click, ->
view_intro.states.switch center
view_tour1.states.switch pushRight
<Navigation View Contorller>
https://github.com/chriscamargo/framer-viewNavigationController
<SuperLayer>
myView=new Layer
width: Screen.width
height: Screen.height
backgroundColor: "white"
myHeader=new Layer
width: Screen.width
height: 64
superLayer: myView
-------------------------------------------------------------------------------------------
myVIew . states . add
pushLeft: { x: -Screen.width}
pushRight: { x: Screen.width}
center: {x: 0}
view_intro.states.switch pushLeft
view_tour1.states.switch center
button_tour1_back.on Events.Click, ->
view_intro.states.switch center
view_tour1.states.switch pushRight
<Navigation View Contorller>
https://github.com/chriscamargo/framer-viewNavigationController
댓글
댓글 쓰기