AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0
ItemShortcutConfig
Shortcut configuration for context menu items. When defined, the shortcut is auto-registered with ShortcutManager.
Signature
interface ItemShortcutConfig {
defaults?: ShortcutDefinition[];
description?: string;
allowDefault?: boolean;
priority?: number;
}Members
| Name | Type | Required | Description |
|---|---|---|---|
defaults | ShortcutDefinition[] | no | Default shortcuts (up to 3). Use ShortcutDefinition format. |
description | string | no | Description shown in shortcuts settings |
allowDefault | boolean | no | If true, don’t call preventDefault() after handling |
priority | number | no | Priority for conflict resolution (higher = checked first) |