Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "v-dialogs", | ||
"description": "A simple and powful dialog, dialog type including Modal, Alert, Mask and Toast, based on Vue2.x", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"author": "TerryZ <terry5@foxmail.com>", | ||
"license": "MIT", | ||
"main": "dist/v-dialog.js", | ||
"main": "dist/v-dialogs.js", | ||
"scripts": { | ||
@@ -9,0 +9,0 @@ "dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot", |
@@ -1,2 +0,2 @@ | ||
# v-dialog | ||
# v-dialogs | ||
@@ -9,3 +9,3 @@ > A simple and powful dialog, dialog type including Modal, Alert, Mask and Toast, based on Vue2.x | ||
# install dependencies | ||
npm i v-dialog --save | ||
npm i v-dialogs --save | ||
``` | ||
@@ -12,0 +12,0 @@ |
@@ -23,7 +23,5 @@ import vDialog from './vDialogContainer'; | ||
}, | ||
mask(msg, callback){ | ||
let params = { | ||
message: msg, | ||
callback: callback | ||
}; | ||
mask(msg, callback, params = {}){ | ||
params.message = msg; | ||
params.callback = callback; | ||
return dlg.addMask(params); | ||
@@ -30,0 +28,0 @@ }, |
@@ -11,3 +11,3 @@ var path = require('path') | ||
//filename: 'build.js' | ||
filename: 'v-dialog.js', | ||
filename: 'v-dialogs.js', | ||
library: 'vDialog', | ||
@@ -14,0 +14,0 @@ libraryTarget: 'umd', |
Sorry, the diff of this file is not supported yet
731879
798