Skip to content

@eightkk/vue-weave / core / reconcileTimelineViewColumns

Function: reconcileTimelineViewColumns() ​

reconcileTimelineViewColumns(state, columns): object

Defined in: src/core/timelineView.ts:238

Reconcile a (possibly old) state with the current columns. Unknown column IDs are dropped and reported; columns the state has not seen are appended after the known ones, visible, in their declared order. Bad widths are dropped and reported. Does not change state.

Parameters ​

state ​

TimelineViewState

columns ​

readonly Pick<TimelineColumn<TimelineRow<unknown>>, "id">[]

Returns ​

object

columns ​

columns: TimelineViewColumn[]

diagnostics ​

diagnostics: TimelineViewDiagnostic[]

Released under the MIT License.