Question
keypress event on textinput
Hello I want to find a way to implement the following keypress method on text input widget in vuforia studio.
var input = document.getElementById("textInput-1");
input.addEventListener("keypress", function(event) {
if (event.key === "Enter") {
event.preventDefault();
document.getElementById("button-5").click();
}
});

