updateState
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / utils/state/core/stateManager / updateState
Function: updateState()
updateState(
path:string,updates:Record<string,unknown>,options?:StateUpdateOptions):void
Defined in: utils/state/core/stateManager.ts:701
Updates state by merging an object into an existing object value.
Parametersβ
pathβ
string
Dot-notation path to a state property.
updatesβ
Record<string, unknown>
Object updates to merge.
options?β
StateUpdateOptions = {}
Optional update behavior.
Returnsβ
void