Skip to content

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

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)

This article includes AI-assisted content.

Documentation is licensed under CC BY 4.0. Phoundry names and marks remain reserved.