Skip to content

Interface: ChoiceRegion

Defined in: modal/engine.ts:105

One choice among several (talk: off | dictation | handsFree | realtime).

Extends

  • RegionCommon

Properties

agent?

optional agent?: string

Defined in: modal/engine.ts:67

Expose on the agent control surface under this name: the control's getter reads the region, its setter dispatches set:<region> — the engine stays the single writer, so an agent's set and the key take the identical path (this is what structurally kills control-mirror desyncs).

Inherited from

RegionCommon.agent


blurExits?

optional blurExits?: boolean

Defined in: modal/engine.ts:111

Window blur restores the initial value.


description?

optional description?: string

Defined in: modal/engine.ts:69

Human description, carried to the agent control when agent is set.

Inherited from

RegionCommon.description


durable?

optional durable?: boolean

Defined in: modal/engine.ts:60

Survives reload (standing settings). The core only carries the flag; the host adapter decides the storage (the Solid adapter adopts a durable registry entry / the agent control's persisted value as the initial).

Inherited from

RegionCommon.durable


initial

initial: string

Defined in: modal/engine.ts:109

Initial value; also what Esc/blur restore. Defaults to the first.


kind

kind: "choice"

Defined in: modal/engine.ts:106


values

values: readonly string[]

Defined in: modal/engine.ts:107