FieldState
Defined in: state.ts:73
Properties
Section titled “Properties”crossfade?
Section titled “crossfade?”
optionalcrossfade?:boolean
Defined in: 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: state.ts:80
Declared delivery mode, once the field has opened.
settled
Section titled “settled”settled:
boolean
Defined in: 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
Section titled “source”source:
"generated"|"cached"|"static"
Defined in: 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: state.ts:75
What a consumer should render right now. Never a placeholder.
typing
Section titled “typing”typing:
boolean
Defined in: state.ts:82
True while live deltas are landing — consumers may animate a caret.