Glenn Hard

Results 6 comments of Glenn Hard

this.$dialog .confirm("Are you sure you want to delete the item?", { loader: true }) .then(d => { // do some delete action d.close(); }); this gives me an error: This...

I have added your vuejs-dialog.d.ts from above to the project, btw.

[cid:[email protected]] This is what I see. The return type of d has a close argument on it. I include a console.log of the “d” variable here: [cid:[email protected]] Perhaps I am...

Here is the email sent again: [cid:[email protected]] This is what I see. The return type of d has a close argument on it. I include a console.log of the “d”...

This vuejs-dialog.d.ts works for me. Thanks for the help! `declare module 'vuejs-dialog' { import { PluginFunction } from 'vue' export const install: PluginFunction interface DialogResult { close?: ()=>void, loading?: ()=>void,...

That did not get stored like i figured it would. Try again here: declare module 'vuejs-dialog' { import { PluginFunction } from 'vue' export const install: PluginFunction interface DialogResult {...