What rebind or reset did.

interface KeyRebindResult {
    conflicts: readonly KeyChordUse[];
    ok: boolean;
    reason?: "unknown" | "invalid" | "fixed" | "reserved" | "taken";
}

Properties

Properties

conflicts: readonly KeyChordUse[]

The bindings on the chord: what stopped the change, or, with replace, what gave the chord up.

ok: boolean

True when the command now has the chord asked for.

reason?: "unknown" | "invalid" | "fixed" | "reserved" | "taken"

Why it did not: the command is unknown or fixed, the chord is invalid or reserved by the browser, or it is taken by the bindings in conflicts. Absent on success.