(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






댓글

이 블로그의 인기 게시물

(18장) WebSocekt과 STOMP를 사용하여 메시징하기

(네트워크)폴링방식 vs 롱 폴링방식

(ElasticSearch) 결과에서 순서 정렬