OptionalelementID of the element the allow rule applies to.
OptionalfocusIf provided, allows only within the named focus target.
OptionalwhenOptional condition callback. When provided, the key is only allowed through when this returns true. When false, the allow rule is ignored and the key is blocked.
Options for KeyboardEngine.allowModal when allowing keys to pass through the modal barrier within a specific focus target.