resetState
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / utils/state/core/stateManagerReset / resetState
Function: resetState()
resetState(
path?:string):void
Defined in: utils/state/core/stateManagerReset.ts:21
Resets state to initial values.
When a path is provided, only that leaf is removed. Without a path, the full state is reset using the legacy reset shape.
Parametersβ
path?β
string
Optional path to reset only part of state.
Returnsβ
void