Answer the question
In order to leave comments, you need to log in
How to properly describe input in ts event?
<input onKeyUp={onKeyUp} />
const onKeyUp = (e) => {
if (e.keyCode === 13) {
e.target.blur();
}
};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question