blockly > ShortcutRegistry > KeyboardShortcut > allowCollision

ShortcutRegistry.KeyboardShortcut.allowCollision property

Value of allowCollision to pass to addKeyMapping when binding this shortcut's .keyCodes (if any).

N.B.: this is only used for binding keycodes at the time this shortcut is initially registered, not for any subsequent addKeyMapping calls that happen to reference this shortcut's name.

Signature:

allowCollision?: boolean;