Evaluates, in that order: tab navigation (only when autoTab is
true), penetration keys, wildcard priority, sequence matching,
focus-target bindings, layer-level bindings, and stopped keys.
When autoTab is false (the default), Tab / Shift+Tab pass through
to normal bindings instead of triggering automatic focus rotation —
developers can then bind Tab to custom handlers.
This is the core routing function: framework adapters that want to
reuse the built-in layer dispatch logic should call handleLayer
rather than re-implementing the evaluation order.
Handle a keyboard event against a single layer.
Evaluates, in that order: tab navigation (only when
autoTabistrue), penetration keys, wildcard priority, sequence matching, focus-target bindings, layer-level bindings, and stopped keys.When
autoTabisfalse(the default), Tab / Shift+Tab pass through to normal bindings instead of triggering automatic focus rotation — developers can then bind Tab to custom handlers.This is the core routing function: framework adapters that want to reuse the built-in layer dispatch logic should call
handleLayerrather than re-implementing the evaluation order.