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

jenesius-vue-modal

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jenesius-vue-modal - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

6

package.json
{
"name": "jenesius-vue-modal",
"version": "1.0.3",
"version": "1.0.4",
"private": false,
"description": "Simple modal",
"description": "Simple modal plugin for Vue3",

@@ -12,3 +12,3 @@ "homepage": "https://github.com/Jenesius/vue-modal#readme",

"main": "./src/plugin/index.js",
"keywords": ["modal", "modals", "vue3", "vue", "vue-modal", "vue modal"],
"keywords": ["modal", "vue3", "front-end","modals", "vue3", "vue", "vue-modal", "vue modal", "dialogs", "popup", "alert"],
"files": [

@@ -15,0 +15,0 @@ "src/plugin/*"

@@ -5,2 +5,8 @@ # Jenesius Vue Modal

### Installation
```markdown
npm i jenesius-vue-modal
```
----

@@ -62,4 +68,4 @@

export default {
props: {
title: String
props: {
title: String
}

@@ -69,3 +75,3 @@ }

```
For show this component
To show this component
```js

@@ -72,0 +78,0 @@ import {useModal} from "jenesius-vue-modal"

@@ -101,2 +101,14 @@ import {ref, watch, shallowRef} from "vue";

state.initialized = true;
/**
* If user press Escape then close last opened modal
* */
document.addEventListener("keyup", e => {
if (e.key === "Escape") popModal();
})
}

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