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

What is Framer? Join the Community
Return to index
Emanuele Livi
Posted Apr 21 - Read on Facebook

Hi guys,
can I ask you help about the FramerJs input module, please?
I really need to figure out how I can, after write text and press return key, start the animation that I created.
Thank you very much.


Benjamin Den Boer

Hey Emanuele Livi, here's how you can listen to the "enter" keypress/keydown event on your input layer:

The keyCode number 13 represents the enter key.

input.onkeydown = (e) ->
____if e.keyCode is 13

Read the entire post on Facebook