getState
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / utils/state/core/stateManager / getState
Function: getState()
getState<
T>(path?:string):T|AppStateShape|undefined
Defined in: utils/state/core/stateManager.ts:374
Gets state by dot-notation path.
Type Parametersβ
Tβ
T = unknown
Parametersβ
path?β
string = ""
Dot-notation path to a state property.
Returnsβ
T | AppStateShape | undefined
State value at the path, or the root state for an empty path.