Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hsy-vue-dialog

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hsy-vue-dialog - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

13

lib/index.js

@@ -232,3 +232,6 @@ module.exports =

backgroundColor: _vm.maskColor
})
}),
on: {
"click": _vm.maskClicked
}
}), _vm._v(" "), _c('div', {

@@ -242,3 +245,3 @@ staticClass: "main"

staticClass: "content"
}, [_vm._t("title")], 2), _vm._v(" "), _c('div', {
}, [_vm._t("title")], 2), _vm._v(" "), (_vm.closeButton) ? _c('div', {
staticClass: "btnClose",

@@ -248,3 +251,3 @@ on: {

}
})]), _vm._v(" "), _c('div', {
}) : _vm._e()]), _vm._v(" "), _c('div', {
staticClass: "body"

@@ -718,2 +721,6 @@ }, [_vm._t("body")], 2)])])])

});
},
maskClicked() {
if (!this.clickMask2Close) return;
this.hide();
}

@@ -720,0 +727,0 @@ }

{
"name": "hsy-vue-dialog",
"version": "0.0.1",
"version": "0.0.2",
"description": "vue dialog component",

@@ -5,0 +5,0 @@ "author": "hsiaosiyuan0 <hsiaosiyuan0@outlook.com>",

@@ -57,5 +57,7 @@ # vue-dialog

| Prop | Description | Type | Accepted Values | Default |
|:------|:---------------------------------|:--------|:----------------|:--------|
| value | whether dialog is visible or not | Boolean | -- | false |
| Prop | Description | Type | Accepted Values | Default |
|:----------------|:------------------------------------------------|:--------|:----------------|:--------|
| value | whether dialog is visible or not | Boolean | -- | false |
| closeButton | whether close button is visible or not | Boolean | -- | true |
| clickMask2Close | if dialog should be closed when mask is clicked | Boolean | -- | true |

@@ -62,0 +64,0 @@ ## Screenshot

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc