Store: notification
Trigger success and error notifications in the topbar
We use Vuex to ensure a consistent state of data throughout the Panel. If you have not worked with Vuex before, you should first familiarize yourself with their documentation.
State
Key | Description |
---|---|
type |
Type of the current notification (error, success) |
message |
The notification message shown in the topbar |
details |
Additional attributes for the notification. Not used yet |
timeout |
Time in milliseconds until the notification gets hidden again |
Actions
notification/close
Closes the current notification
notification/open
Opens a new notification
notification/success
Trigger a success notification
notification/error
Trigger an error notification