DocsAPI referenceHeadlesscommand-runner

command-runner headless API

The core connector and vanilla mount are always visible. Use the framework choice to inspect native composition, props, outputs, context and hooks for the selected adapter.

@grassroot/ui-headless-core/command-runner

Core connector and vanilla API

1 exports
View source packages/ui-headless/core/src/command-runner.ts

runUiCommand

value
DeclarationView source
runUiCommandts
export declare const runUiCommand: CommandRunner;
Name
Kind
Type
Requirement
command
parameter
UiCommand
required
scope
parameter
PartScope
required
options
parameter
{ announce?: (key: string, params: { readonly [key: string]: string | number | null; }, politeness: "polite" | "assertive") => void; }
optional
return
return value
void
n/a
Name
command
Kind
parameter
Type
UiCommand
Requirement
required
Name
scope
Kind
parameter
Type
PartScope
Requirement
required
Name
options
Kind
parameter
Type
{ announce?: (key: string, params: { readonly [key: string]: string | number | null; }, politeness: "polite" | "assertive") => void; }
Requirement
optional
Name
return
Kind
return value
Type
void
Requirement
n/a

Framework adapters

Each panel keeps its adapter's public vocabulary. React compound exports, Vue composables, standalone Angular declarations, Svelte components, and Solid hooks stay native to their framework.

This entry is core-only. No framework adapter package ships for command-runner yet — mount it through the vanilla API above.