UI Commands
Command-based paradigms for managing keyboard shortcuts and user interactions.
Internal Component
This component is intended solely for use within GitHub and is not available for external use.React
ready
Props
UI Commands
No props documented
GlobalCommands
Name | Default | Description |
---|---|---|
commands Required | CommandEventHandlersMap Map of command IDs to the corresponding event handler. |
ScopedCommands
Name | Default | Description |
---|---|---|
commands Required | CommandEventHandlersMap Map of command IDs to the corresponding event handler. | |
triggerOnDefaultPrevented Required | ||
onCompositionStart Required | ||
onCompositionEnd Required | ||
onKeyDown Required |
CommandKeybindingHint
Name | Default | Description |
---|---|---|
commandId Required | string | number | symbol |