key:down#
Normalized keydown. Payload includes { event, scope, inside, inEditable, inEditor }.
Type: signal.
Payload:
- event — native DOM or input event (user-driven actions)
- scope — string — snapshot scope (e.g.
schemaSection) - inside — event-specific value
- inEditable — boolean — whether the key event happened inside the editable
- inEditor — event-specific value
Example:
app.on('key:down', ({ event, scope, inside, inEditable, inEditor }) => {
console.log('key:down', { event, scope, inside, inEditable, inEditor });
});
key:up#
Normalized keyup with the same payload shape as key:down.
Type: signal.
Payload:
- event — native DOM or input event (user-driven actions)
- scope — string — snapshot scope (e.g.
schemaSection) - inside — event-specific value
- inEditable — boolean — whether the key event happened inside the editable
- inEditor — event-specific value
Example:
app.on('key:up', ({ event, scope, inside, inEditable, inEditor }) => {
console.log('key:up', { event, scope, inside, inEditable, inEditor });
});