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
SelectionProviderItem
A single action item contributed by a selection provider
Signature
interface SelectionProviderItem {
id: string;
label: string;
icon?: string;
disabled?: boolean;
danger?: boolean;
action: (ctx: SelectionContext) => void | Promise<void>;
}Members
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | - |
label | string | yes | - |
icon | string | no | - |
disabled | boolean | no | - |
danger | boolean | no | - |
action | (ctx: SelectionContext) => void | Promise<void> | yes | - |