ICommandPaletteSlotProps
interface
Navigation
Scoped slot data injected into the #item slot of OrigamCommandPalette — provides the ICommand data and a boolean indicating whether the row is currently highlighted.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- commandrequiredICommand
- The command data for the current row (id, label, description, icon, kbd, group, …).
- isActiverequiredboolean
- Whether this row is currently highlighted (keyboard navigation or hover). Use to apply a custom active style.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Custom item slot with scoped props