Interface: Keybindings
Defined in: keybindings.ts:144
Properties
table
readonlytable: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?
Returns
() => void
reload()
Defined in: keybindings.ts:150
Re-reads the source and swaps the table. On failure the previous table stays and the reason is returned.