Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fresh_testing_library/components.ts>keyboardKey

Utilities for testing fresh apps
Latest
interface keyboardKey
import { type keyboardKey } from "https://deno.land/x/fresh_testing_library@0.13.0/components.ts";

Properties

optional
code: string

Physical location on a keyboard

optional
key: string

Character or functional key descriptor

optional
location: DOM_KEY_LOCATION

Location on the keyboard for keys with multiple representation

optional
altGr: boolean

Does the character in key require/imply AltRight to be pressed?

optional
shift: boolean

Does the character in key require/imply a shiftKey to be pressed?