Studio

backspace

("backspace", () => void): this;

Emitted if the user presses the backspace button on the keyboard. This will only be emitted after show() has been called, even on platforms without an on-screen keyboard.

Returns

this

Handler Function

When the backspace event is fired, attached handler functions are called with no arguments.

Example

myKeyboard.on("backspace", backspacePressed);

function backspacePressed(){
    //code to run when the backspace button is pressed
}
Open in new window