How to use the @nut-tree/nut-js.Key.Backspace function in @nut-tree/nut-js

To help you get started, we’ve selected a few @nut-tree/nut-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sakuli / sakuli / packages / sakuli-legacy / src / context / common / key.class.ts View on Github external
import {Key as NutKey} from "@nut-tree/nut-js";

export class Key {
    static readonly SPACE = NutKey.Space;
    static readonly ENTER = NutKey.Enter;
    static readonly BACKSPACE = NutKey.Backspace;
    static readonly TAB = NutKey.Tab;
    static readonly ESC = NutKey.Escape;
    static readonly UP = NutKey.Up;
    static readonly RIGHT = NutKey.Right;
    static readonly DOWN = NutKey.Down;
    static readonly LEFT = NutKey.Left;
    static readonly PAGE_UP = NutKey.PageUp;
    static readonly PAGE_DOWN = NutKey.PageDown;
    static readonly DELETE = NutKey.Delete;
    static readonly END = NutKey.End;
    static readonly HOME = NutKey.Home;
    static readonly INSERT = NutKey.Insert;
    static readonly F1 = NutKey.F1;
    static readonly F2 = NutKey.F2;
    static readonly F3 = NutKey.F3;
    static readonly F4 = NutKey.F4;