Skip to content

Interface: LadderRegion

Defined in: modal/engine.ts:76

An exclusive, ordered axis; Esc walks it downward one rung per press. disarmed ⊂ armed ⊂ turn ⊂ turn.tweak, as data.

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


blurExitsFrom

blurExitsFrom: readonly string[]

Defined in: modal/engine.ts:93

Rungs from which a window blur steps out one level — for rungs whose purpose is a round-trip out of the page (a jump-to-editor mode), where coming back must not resume the mode. Blur is Esc's page-focus sibling: one level, never a jump to root.


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


escFloor

escFloor: string

Defined in: modal/engine.ts:86

Esc never steps below this rung: escFloor: "armed" makes Esc cancel a turn but never disarm (disarm is its own deliberate command). Defaults to the first rung (Esc can walk the whole ladder).


initial

initial: string

Defined in: modal/engine.ts:80

Initial rung; defaults to the first.


kind

kind: "ladder"

Defined in: modal/engine.ts:77


rungs

rungs: readonly string[]

Defined in: modal/engine.ts:78