Phials plugin documentation
User guide
AI Disclosure: This page was generated by an LLM and may contain inaccuracies. Hand-crafted documentation will be implemented over time on the road to 1.0

ItemShortcutConfig

Since Plugin API: 1.0.0

Shortcut configuration for module providers and other item-level shortcuts. When defined on a module, the shortcut is auto-registered with ShortcutManager.

Signature

interface ItemShortcutConfig {
    defaults?: ShortcutDefinition[];
    description?: string;
    allowDefault?: boolean;
    priority?: number;
}

Members

NameTypeRequiredDescription
defaultsShortcutDefinition[]noDefault shortcuts (up to 3). Use ShortcutDefinition format.
descriptionstringnoDescription shown in shortcuts settings
allowDefaultbooleannoIf true, don’t call preventDefault() after handling
prioritynumbernoPriority for conflict resolution (higher = checked first)