Skip to main content

StateSystemRouter

FitFileViewer - API Documentation v29.9.0


FitFileViewer - API Documentation / utils/state/core/unifiedStateManager / StateSystemRouter

Interface: StateSystemRouter

Defined in: utils/state/core/unifiedStateManager.js:19

Properties​

isLegacyPath()​

isLegacyPath: (path: string) => boolean

Defined in: utils/state/core/unifiedStateManager.js:21

Check if path belongs to legacy system

Parameters​

path​

string

Returns​

boolean


getLegacyState()​

getLegacyState: (path: string) => any

Defined in: utils/state/core/unifiedStateManager.js:23

Get state from legacy system

Parameters​

path​

string

Returns​

any


setLegacyState()​

setLegacyState: (path: string, value: any) => void

Defined in: utils/state/core/unifiedStateManager.js:25

Set state in legacy system

Parameters​

path​

string

value​

any

Returns​

void