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

What is Framer? Join the Community
Return to index
Daniel Caine
Posted Jan 03 - Read on Facebook

Hey guys,

What's the proper way to check if an element has a particular state?

buttonConfirm.on Events.Click, ->
if @.states == 'active'
print "clicked"

Doesn't seem to work

1 Comments

Daniel Caine

Ah, got it I think: layer.states.current

Read the entire post on Facebook