Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

press enter reaction js

window.addEventListener('keypress', (e) => {
        if (e.key !== "Enter") return
        addTask()
    })
 
PREVIOUS NEXT
Tagged: #press #enter #reaction #js
ADD COMMENT
Topic
Name
5+7 =