An interface for querying which keyboard keys are currently held down (locally, on the web page).
export declare class HeldKeys
|(constructor)(heldKeys)||Constructs a new instance of the |
|alt||boolean||Reports whether either Alt key is pressed.|
|ctrl||boolean||Reports whether either Ctrl key is pressed.|
|keys||ReadonlySet<VirtualKey>||Returns all held keys as a |
|shift||boolean||Reports whether either Shift key is pressed.|
|win||boolean||Reports whether either Windows/Meta key is pressed.|