Use this code for example to run the program when enter is clicked:
export function input1_keyPress(event, $w) {
if(event.key === "Enter"){
console.log("Enter was pressed!")// insert your code here
}
}
Use this code for example to run the program when enter is clicked:
export function input1_keyPress(event, $w) {
if(event.key === "Enter"){
console.log("Enter was pressed!")// insert your code here
}
}