Skip to content

Interface: Keybindings ​

Defined in: keybindings.ts:144

Properties ​

table ​

readonly table: Table

Defined in: keybindings.ts:146

The current resolved table. Replaced wholesale on a successful reload, never mutated.

Methods ​

attach() ​

attach(target?): () => void

Defined in: keybindings.ts:148

Adds the keydown listener; returns the detach.

Parameters ​

target? ​

KeyTarget

Returns ​

() => void


reload() ​

reload(): Promise<Outcome<Table>>

Defined in: keybindings.ts:150

Re-reads the source and swaps the table. On failure the previous table stays and the reason is returned.

Returns ​

Promise<Outcome<Table>>