OptionalelementID of the element whose keyboard data the stop rule applies to.
OptionalfocusIf provided, stops only within the named focus target.
OptionalstopWhen true, treats each entry in keys as a shortcut action ID
and resolves it to the actual key names currently bound to that action
(via the layer's or focus target's actionKeysMap).
This keeps stopping logic decoupled from literal key names: if you later rebind the action to different keys, the stop still works.
OptionalwhenOptional condition — function or registered condition id.
When provided, the key is only stopped (propagation barrier)
when this evaluates to true. When false, the stop rule is
ignored and the key propagates normally.
Options for KeyboardEngine.stop when stopping keys within a specific focus target.