Appearance
App Store
State
state | description |
---|---|
isAuthenticated | used to indicate if the application is in an authenticated state or not |
loading | used to indicate if the application is in a loading state. Typically used for async api requests |
notification | used to hold a global notification object set by actions. The Toast typically receives these notifications. |
Getters
getter | description |
---|---|
isAppReady | returns true based on the loading state |
getNotification | returns notification state |
Actions
action | description |
---|---|
setAuthenticated | sets the application isAuthenticated state as well as saves to the browser session. This allows for browser refreshes to not lose state. |
setLoading | set the loading state |
setNotification | set the notification state |
clearNotification | clear the notification state |