Module

x/cliffy/keypress/mod.ts>KeyPressEvent

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class KeyPressEvent
extends Event
import { KeyPressEvent } from "https://dotland.deno.dev/x/cliffy@v0.23.2/keypress/mod.ts";

Constructors

new
KeyPressEvent(type: KeyPressEventType, eventInitDict: KeyPressEventInit)

Properties

readonly
altKey: boolean
readonly
optional
code: string
readonly
ctrlKey: boolean
readonly
optional
key: string
readonly
metaKey: boolean
readonly
repeat: boolean
readonly
optional
sequence: string
readonly
shiftKey: boolean