Skip to content

Intermact API Reference / @intermact/core / MapDataOptions

Interface: MapDataOptions<T>

Defined in: packages/core/src/pcg/data.ts:16

Options for mapData.

Type Parameters

T

T

Properties

key?

readonly optional key?: (datum, index) => string

Defined in: packages/core/src/pcg/data.ts:18

Stable key per datum, used for Morph/data-update matching (default index).

Parameters

datum

T

index

number

Returns

string


style?

readonly optional style?: ObjectStyle

Defined in: packages/core/src/pcg/data.ts:19

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)