AppSelectors
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / utils/app/lifecycle/appActions / AppSelectors
Variable: AppSelectors
constAppSelectors: {activeTab:string;areChartsRendered:boolean;areTablesRendered:boolean;currentTheme:string;getChartConfig:Record<string,unknown>;getCurrentFile:string|null;getMapConfig:Record<string,unknown>;getPerformanceMetrics:Record<string,unknown>;hasData:boolean;isLoading:boolean;isMapRendered:boolean;isTabActive:boolean; }
Defined in: utils/app/lifecycle/appActions.ts:373
State selectors - helper functions to get computed state values
Type Declarationβ
activeTab()β
activeTab():
string
Get the current active tab
Returnsβ
string
Active tab name.
areChartsRendered()β
areChartsRendered():
boolean
Check if charts are rendered
Returnsβ
boolean
True if charts are rendered.
areTablesRendered()β
areTablesRendered():
boolean
Check if tables are rendered
Returnsβ
boolean
True if tables are rendered.
currentTheme()β
currentTheme():
string
Get current theme
Returnsβ
string
Current theme.
getChartConfig()β
getChartConfig():
Record<string,unknown>
Get chart configuration
Returnsβ
Record<string, unknown>
Chart configuration.
getCurrentFile()β
getCurrentFile():
string|null
Get current file path
Returnsβ
string | null
Current file path.
getMapConfig()β
getMapConfig():
Record<string,unknown>
Get map configuration
Returnsβ
Record<string, unknown>
Map configuration.
getPerformanceMetrics()β
getPerformanceMetrics():
Record<string,unknown>
Get performance metrics
Returnsβ
Record<string, unknown>
Performance data.
hasData()β
hasData():
boolean
Check if any data is loaded
Returnsβ
boolean
True if data is loaded.
isLoading()β
isLoading():
boolean
Check if app is currently loading
Returnsβ
boolean
True if loading.
isMapRendered()β
isMapRendered():
boolean
Check if map is rendered
Returnsβ
boolean
True if map is rendered.
isTabActive()β
isTabActive(
tabName:string):boolean
Check if a specific tab is active
Parametersβ
tabNameβ
string
Tab name to check.
Returnsβ
boolean
True if tab is active.