Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

on enter key press react

onKeyPress={(e) => e.key === 'Enter' && handleSearch()}
 
PREVIOUS NEXT
Tagged: #enter #key #press #react
ADD COMMENT
Topic
Name
2+9 =