Skip to content

Lifecycle ​

The following API functions allow developers to interact with the Harness-Vue lifecycle. For more information on how to use these functions, see the API usage page.

pageStore ​

pageStore.setRequestCache(payload) ​

Kind: static method of pageStore

ParamTypeDescription
payloadanysets the request cache to the given payload

pageStore.toggleDataLoading() ​

Flips the data loading boolean

Kind: static method of pageStore

pageStore.loadData() ​

Runs the load data function for a given page

Kind: static method of pageStore

pageStore.clearData() ​

Sets the data for all charts to null

Kind: static method of pageStore

pageStore.initializeDefaults(payload) ​

Kind: static method of pageStore

ParamTypeDefaultDescription
payloadArrayInitializes the defaults for all filters. If an array of filter keys is provided, only those filters will be initialized