0.0.1-b6 • Published 4 years ago

vuetify-toast2 v0.0.1-b6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Vuetify-toast 2

Usage

import Vue from "vue"
import Toast2 from "vuetify-toast2"

Vue.use(Toast2)

App.vue

<template>
   <v-app>
      <vue-toast-group name="default">
   </v-app>
</template>

name: this is your optional name to install an element that allows you to use $toast. Yes you can get more by specifying different names View more prop in https://vuetifyjs.com/en/api/v-snackbar

export default {
   methods: {
      showToast() {
         this.$toast.success("default", "Hello success toast")
         /// or
         this.$toast.success("default", {
            $text: "Hello success toast",
            /// option for component view in: https://vuetifyjs.com/en/api/v-snackbar
            /// the option here overrides the options at <vue-toast-group />
         })
      }
   }
}
0.0.1-b6

4 years ago

0.0.1-b5

4 years ago

0.0.1-b4

4 years ago

0.0.1-b3

4 years ago

0.0.1-b2

4 years ago

0.0.1-b1

4 years ago

0.0.1

4 years ago