Skip to content

Added a callback via a promise to add additional flexibility when the button is clicked

SimplyUnnamed requested to merge SimplyUnnamed/snackbar-queue:master into master

Added callback functionality to pressing the button.

for example:

this.$snackbar("Object is now archived", 'info', 'Undo').then(() => {
    //Perform Undo
})

Merge request reports