Foundation.KeyCodes

A collection of static getters which map commonly-used key codes to the alpha-numeric / semantic representation.


Implementation Details

Reference paths

  • '/foundation/_digest.ts'
  • '/foundation/core/utilities/_digest.ts'
  • '/foundation/core/utilities/KeyCodes.ts'

Extends

This type does not extend a base type.

Implements

This type does not implement any interfaces.


Public Properties (Static)

key0: number to key9: number

  • Key codes for main keyboard numbers 0-9.
  • Not settable

a: number to z: number

  • Key codes for all alpha characters.
  • Not settable

left: number, right: number, up: number, and down: number

  • Key codes for primary arrow keys.
  • Not settable

space: number, and enter: number

  • Key codes for space bar and carriage return keys
  • Not settable