We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I call function flash() from Vuex it works but it doesn't apply global options like
Vue.use(VueFlashMessage, { messageOptions: { timeout: 1000, } });
Calling it from Vuex does also support passing global options?
The text was updated successfully, but these errors were encountered:
Yep, same here. The options unfortunately only appear to be respected calling this.flash() from a Vue component, not a Vuex store.
this.flash()
EDIT: ignore that. You can only call this.flash() from Vue components. You need to call the following from your Vuex store:
Vue.prototype.$flashStorage.flash('message content', 'success', { timeout: 1000 })
Basically, without the messagesOptions key.
messagesOptions
Sorry, something went wrong.
No branches or pull requests
When I call function flash() from Vuex it works but it doesn't apply global options like
Calling it from Vuex does also support passing global options?
The text was updated successfully, but these errors were encountered: