mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 12:18:45 -05:00
temp save vue transition stuff
This commit is contained in:
12
cookbook/static/Toast.js
Normal file
12
cookbook/static/Toast.js
Normal file
@@ -0,0 +1,12 @@
|
||||
let toast_mixin = Vue.mixin({
|
||||
methods: {
|
||||
makeToast: function (title, message, variant = null) {
|
||||
this.$bvToast.toast(message, {
|
||||
title: title,
|
||||
variant: variant,
|
||||
toaster: 'b-toaster-top-center',
|
||||
solid: true
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user