Skip to main content

updateState

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/state/core/stateManager / updateState

Function: updateState()

updateState(path: string, updates: Object, options?: StateUpdateOptions): void

Defined in: utils/state/core/stateManager.js:751

Update state by merging with existing object

Parameters​

path​

string

Dot notation path to state property

updates​

Object

Object to merge with existing state

options?​

StateUpdateOptions = {}

Optional update options

Returns​

void