FragmentFieldState
Defined in: fragments.ts:166
A resolved field: a FieldState, assignable to one. source keeps its
three values and says whether the copy is adapted. stated is true on a
field that shows a stated fact (its source is then "static").
Extends
Section titled “Extends”Properties
Section titled “Properties”crossfade?
Section titled “crossfade?”
optionalcrossfade?:boolean
Defined in: state.ts:113
True when text deliberately replaces text that may have been visible:
an unfinished line replaced by the fallback after a failure or a stall
(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.
Inherited from
Section titled “Inherited from”mode:
"generate"|"replay"|null
Defined in: state.ts:99
Declared delivery mode, once the field has opened.
Inherited from
Section titled “Inherited from”settled
Section titled “settled”settled:
boolean
Defined in: state.ts:104
text is final for this stream: closed by the server, or settled by
the SDK at the end of the stream.
Inherited from
Section titled “Inherited from”source
Section titled “source”source:
"generated"|"cached"|"static"
Defined in: state.ts:97
Provenance of text. generated and cached may carry the adaptation
mark, static may not — decideChrome is the one place that decides.
Inherited from
Section titled “Inherited from”stated?
Section titled “stated?”
optionalstated?:true
Defined in: fragments.ts:168
The text is a stated fact from the workspace’s records. Absent otherwise.
text:
string
Defined in: state.ts:94
What a consumer should render right now. Never a placeholder.
Inherited from
Section titled “Inherited from”typing
Section titled “typing”typing:
boolean
Defined in: state.ts:101
True while live deltas are landing — consumers may animate a caret.