# FragmentFieldState

Defined in: core/src/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

- [`FieldState`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md)

## Properties

### crossfade?

> `optional` **crossfade?**: `boolean`

Defined in: core/src/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

[`FieldState`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md).[`crossfade`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md#crossfade)

***

### mode

> **mode**: `"generate"` \| `"replay"` \| `null`

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

Declared delivery mode, once the field has opened.

#### Inherited from

[`FieldState`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md).[`mode`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md#mode)

***

### settled

> **settled**: `boolean`

Defined in: core/src/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

[`FieldState`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md).[`settled`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md#settled)

***

### source

> **source**: `"generated"` \| `"cached"` \| `"static"`

Defined in: core/src/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

[`FieldState`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md).[`source`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md#source)

***

### stated?

> `optional` **stated?**: `true`

Defined in: core/src/fragments.ts:168

The text is a stated fact from the workspace's records. Absent otherwise.

***

### text

> **text**: `string`

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

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

#### Inherited from

[`FieldState`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md).[`text`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md#text)

***

### typing

> **typing**: `boolean`

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

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

#### Inherited from

[`FieldState`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md).[`typing`](https://docs.sparkletree.io/developers/api/react/interfaces/fieldstate.md#typing)
