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

What is Framer? Join the Community
Return to index
Kevin Schaefer
Posted May 16 - Read on Facebook

Is there a way to trigger a click event on a layer programmatically? I haven't been able to find any way to do this.

6 Comments

Ryhan Hassan

.click(), or separate out your click handler

Ryhan Hassan

(I believe, haven't tried)

Kevin Schaefer

Click() seems to be undefined on framer layers

George Kedenburg III

pull out whatever logic happens during the click into a separate function and then you can call that whenever you want

Cemre Güngör

you can use emit "click"

Cemre Güngör

read the source code for events ;) you'll find it there

Read the entire post on Facebook