OptionalactionThe shortcut action id this binding was registered through, when the handler was given as an id rather than a callback.
Kept so the action-key map can be cleaned up per registration: the resolved callback alone cannot tell which action a key belongs to, and a key may be bound by several actions at once.
Handler to invoke on match.
Normalized key names to match.
OptionalmodeRestrict this binding to a specific mode.
Copied from BoundKeyboardOptions.mode at registration time.
Checked by tryMatchBindings before when, onlyThis, and
key-match evaluation. When the active mode does not match, the binding
is skipped entirely.
OptionalobserverCallback invoked on every key press while counting toward times.
Receives the number of remaining presses before the handler fires.
Requires times to be set; throws at registration otherwise.
OptionalpressCurrent press count. Managed internally by the keyboard provider.
OptionalstopsWhen true, this binding stops responding after its owning layer
has appeared on screen. The binding is only active before the layer
renders for the first time — once the layer becomes visible, any
subsequent key presses matching this entry are silently ignored.
OptionaltimesNumber of presses needed before the handler fires (from options).
OptionalwhenOptional condition callback. When provided, the binding only fires if
this callback returns true at the moment of the key press.
When false, the binding is skipped as if it does not exist — the
event continues to the next binding or layer.
A key binding registered on a page (screen) layer.
Extends BaseBoundKeyEntry with the page-only
stopsWorkingAfterLayerAppearingoption.