Skip to content

Documentation / @debuffjp/input / InputOptions

Interface: InputOptions<A> ​

Defined in: input.ts:22

Type Parameters ​

A ​

A extends string

Properties ​

bindings ​

bindings: Bindings<A>

Defined in: input.ts:24

Named actions and the sources that trigger them.


captureKeys? ​

optional captureKeys?: boolean

Defined in: input.ts:28

Block the browser default for bound keys (page scrolling in embeds). Default true.


keyboardTarget? ​

optional keyboardTarget?: Window | HTMLElement

Defined in: input.ts:26

Element receiving keyboard events. Default window.