Hi, I have to add shortcut function keys with previous and next functionality. kindly guide me how to do it.
Thanks in advance
You handle shortcuts by adding a simple "keydown" event handler to your application:
document.addEventListener("keydown", e => { if (e.key === "F2") { // do something } });