Skip to content

FieldState

Defined in: core/src/state.ts:73

optional crossfade?: boolean

Defined in: core/src/state.ts:93

True when text deliberately replaces text that may have been visible: an unfinished sentence withdrawn after a failure (UnfinishedCopyPolicy) or new copy after the campaign or context changed. Renderers cross-fade once (COPY_MOTION_MS, COPY_MOTION_EASING) instead of typing. Absent on every other field — no other change ever replaces visible text.


mode: "generate" | "replay" | null

Defined in: core/src/state.ts:80

Declared delivery mode, once the field has opened.


settled: boolean

Defined in: core/src/state.ts:85

text is final for this stream: closed by the server, or settled by the SDK at the end of the stream.


source: "generated" | "cached" | "static"

Defined in: core/src/state.ts:78

Provenance of text. generated and cached may carry the adaptation mark, static may not — decideChrome is the one place that decides.


text: string

Defined in: core/src/state.ts:75

What a consumer should render right now. Never a placeholder.


typing: boolean

Defined in: core/src/state.ts:82

True while live deltas are landing — consumers may animate a caret.