Options

onKeyPress

Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).

onKeyPress: (button) => console.log(button)