File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Vue.use(VuejsDialog)
20
20
``` javascript
21
21
// Anywhere in your Vuejs App.
22
22
23
- vm .$dialog .confirm (' Please confirm to continue' )
23
+ this .$dialog .confirm (' Please confirm to continue' )
24
24
.then (function () {
25
25
console .log (' Clicked on proceed' )
26
26
})
@@ -34,7 +34,7 @@ vm.$dialog.confirm('Please confirm to continue')
34
34
``` javascript
35
35
// Anywhere in your Vuejs App.
36
36
37
- vm .$dialog .confirm (" If you delete this record, it'll be gone forever." , {
37
+ this .$dialog .confirm (" If you delete this record, it'll be gone forever." , {
38
38
loader: true // default: false - when set to true, the proceed button shows a loader when clicked.
39
39
// And a dialog object will be passed to the then() callback
40
40
})
@@ -72,7 +72,7 @@ let options = {
72
72
clicks: 3 , // for soft confirm, user will be asked to click on "proceed" btn 3 times before actually proceeding
73
73
};
74
74
75
- vm .$dialog .confirm (message, options)
75
+ this .$dialog .confirm (message, options)
76
76
.then (function () {
77
77
// This will be triggered when user clicks on proceed
78
78
})
You can’t perform that action at this time.
0 commit comments