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.