Class: KeyWatcher

index.KeyWatcher()

Tracks which keys are currently held down.

Constructor

new KeyWatcher()

Source:

Members

activeKeys

Object of which keyboard keys are currently held down. Object keys are KeyboardEvent#key. Object values should be treated as truthy/falsy only.
Source:
Fires:

Methods

addEventListener()

Source:
See:

removeEventListener()

Source:
See:

Events

change

Event fired when activeKeys changes.
Source: