Created
August 4, 2019 14:32
-
-
Save manuelgeek/47dc79f2d4f6f8a2db5e1685de078c6e to your computer and use it in GitHub Desktop.
a simple snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import BootstrapVue from 'bootstrap-vue' | |
Vue.use(BootstrapVue) | |
export function toaster(msg = 'Message', title='Success',position='b-toaster-top-right', append = false){ | |
return this.$bvToast.toast( msg, { | |
title: title, | |
toaster: position, | |
variant: 'success', | |
solid: true, | |
appendToast: append | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment