本文へ移動

@eightkk/vue-weave / core / TimelineSheetAppliers

Interface: TimelineSheetAppliers<R> ​

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

How applyTimelineSheetEdit writes one edit into a row. Each callback returns a new row and must not mutate it.

Type Parameters ​

R ​

R extends TimelineRow = TimelineRow

Properties ​

cell? ​

optional cell?: (row, edit) => R

Defined in: src/core/sheetEditing.ts:84

Writes the text of a plain column (edit.after) of edit.columnId. Required when the change has cell edits.

Parameters ​

row ​

R

edit ​

TimelineCellEdit

Returns ​

R


field? ​

optional field?: (row, edit) => R

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

Writes a typed value (edit.after) of edit.fieldId. Required when the change has field edits.

Parameters ​

row ​

R

edit ​

TimelineFieldEdit<R>

Returns ​

R

MIT ライセンスで公開しています。