We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4103604 commit 614a3fdCopy full SHA for 614a3fd
README.md
@@ -90,3 +90,19 @@ this.$dialog.confirm(message, options)
90
// This will be triggered when user clicks on cancel
91
});
92
```
93
+
94
+```javascript
95
+// You can also set all your defaults at the oint of installation.
96
+// This will be your global configuration
97
98
+Vue.use(VuejsDialog, {
99
+ html: true,
100
+ loader: true,
101
+ okText: 'Proceed',
102
+ cancelText: 'Cancel',
103
+ animation: 'bounce',
104
+})
105
106
+// Please note that local configurations will be considered before global configurations.
107
+// This gives you the flexibility of overriding the global config on individual call.
108
+```
0 commit comments