Skip to content

Commit 8e37622

Browse files
authored
Comma in example code and dialog mixin js path
Added a comma in options example. Fixed wrong dialog mixin js path where /dist was missing.
1 parent 53fd0f0 commit 8e37622

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ yarn add vuejs-dialog
6464
// import into project
6565
import Vue from 'vue';
6666
import VuejsDialog from 'vuejs-dialog';
67-
import VuejsDialogMixin from 'vuejs-dialog/vuejs-dialog-mixin.min.js'; // only needed in custom components
67+
import VuejsDialogMixin from 'vuejs-dialog/dist/vuejs-dialog-mixin.min.js'; // only needed in custom components
6868

6969
// include the default style
7070
import 'vuejs-dialog/dist/vuejs-dialog.min.css';
@@ -358,7 +358,7 @@ let options = {
358358
verification: 'continue', // for hard confirm, user will be prompted to type this to enable the proceed button
359359
verificationHelp: 'Type "[+:verification]" below to confirm', // Verification help text. [+:verification] will be matched with 'options.verification' (i.e 'Type "continue" below to confirm')
360360
clicksCount: 3, // for soft confirm, user will be asked to click on "proceed" btn 3 times before actually proceeding
361-
backdropClose: false // set to true to close the dialog when clicking outside of the dialog window, i.e. click landing on the mask
361+
backdropClose: false, // set to true to close the dialog when clicking outside of the dialog window, i.e. click landing on the mask
362362
customClass: '' // Custom class to be injected into the parent node for the current dialog instance
363363
};
364364

0 commit comments

Comments
 (0)