Dialog

Preview

Component Props
Options
Code
  //import { Test } from '#components' // Using Nuxt 
  import { Test } from './components/Test.vue' // Using Vue 3

  const notifier = useNotifier()

  notifier.dialog(Test, {      
    msg: 'Hello' // Pass data to component props
    onClick: () => {
      // Do something
    },
    onClose: () => {
      // Do something
    },
  })

API

PropsTypeDescription
All props from component
Options
All props from VDialog APIhttps://vuetifyjs.com/en/api/v-dialog/
Events
onSubmitany
onClose
Table of Contents