This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Aatur Harsh
Posted Sep 13 - Read on Facebook

This is my first work with framer... please give feedback

10 Comments

Darin Dimitrov

Can't give it a thorough look right now, but you should definitely speed up that transition.

Aatur Harsh

ok will do that

Aatur Harsh

so much detail have lined up....

Aatur Harsh

detailing*

Giovanni Caruso

...just noticed a small "bug" on "Place" and "Events" buttons. You should use layer.states.switch('state1') and layer.states.switch('default') to switch views accordingly.

Aatur Harsh

ok Thanks Giovanni

Aatur Harsh

Giovanni Caruso i didn't get your suggestion where i have to place that code. Currently i've written this code have a look:
cards.states.add
state1: { x: -2000 }

events.states.add
state1: { x:45 }

highlight.states.add
state1: { x:670 }

eventbutton.on Events.Click, ->
cards.states.next()
events.states.next()
highlight.states.next()

placebutton.on Events.Click, ->
cards.states.next()
events.states.next()
highlight.states.next()

Giovanni Caruso

This should work:
eventbutton.on Events.Click, ->
cards.states.switch('state1')
events.states.switch('state1')
highlight.states.switch('state1')

placebutton.on Events.Click, ->
cards.states.switch('default')
events.states.switch('default')
highlight.states.switch('default')

Aatur Harsh

Yup you are right Thanks for help and feedback Giovanni

Giovanni Caruso

Happy to help :)

Read the entire post on Facebook