UiCommands
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
UiCommands
No props documented
GlobalCommands
| Name | Default | Description |
|---|---|---|
commands Required | CommandEventHandlersMapMap of command IDs to the corresponding event handler. |
ScopedCommands
| Name | Default | Description |
|---|---|---|
commands Required | CommandEventHandlersMapMap 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 |