AppSelectors
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/app/lifecycle/appActions / AppSelectors
Variable: AppSelectors
constAppSelectors: {activeTab:string;areChartsRendered:boolean;areTablesRendered:boolean;currentTheme:string;getChartConfig:Object;getCurrentFile:string|null;getMapConfig:Object;getPerformanceMetrics:Object;hasData:boolean;isLoading:boolean;isMapRendered:boolean;isTabActive:boolean; }
Defined in: utils/app/lifecycle/appActions.js:311
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():
Object
Get chart configuration
Returnsβ
Object
Chart configuration
getCurrentFile()β
getCurrentFile():
string|null
Get current file path
Returnsβ
string | null
Current file path
getMapConfig()β
getMapConfig():
Object
Get map configuration
Returnsβ
Object
Map configuration
getPerformanceMetrics()β
getPerformanceMetrics():
Object
Get performance metrics
Returnsβ
Object
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