vuetify-use-dialog
vuetify-use-dialog copied to clipboard
Resolve dialog through custom content component events
When creating a custom dialog that requires you to select an item from a list, it can be smoother to close the dialog as soon as the list item is clicked rather than select a list item and then press 'cancel' or 'ok'.
If the custom content component emits a 'cancel' or 'confirm' event, the dialog catches those events.