jenesius-vue-modal
Advanced tools
Comparing version 1.0.11 to 1.0.12
{ | ||
"name": "jenesius-vue-modal", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"private": false, | ||
@@ -64,3 +64,3 @@ "description": "Simple modal plugin for Vue3", | ||
"email": "lokargenia@gmail.com", | ||
"homepage": "https://github.com/Jenesius/vue-modal#readme", | ||
"homepage": "https://modal.jenesius.com/", | ||
"keywords": [ | ||
@@ -67,0 +67,0 @@ "vue", |
@@ -33,2 +33,5 @@ import {ref, watch, shallowRef} from "vue"; | ||
//Modal with id not found | ||
if (indexFoRemove === -1) return; | ||
modalQueue.value.splice(indexFoRemove, 1); | ||
@@ -110,3 +113,3 @@ } | ||
if (e.key === "Escape") popModal(); | ||
if (e.key === "Escape" || e.code === "Escape") popModal(); | ||
@@ -113,0 +116,0 @@ }) |
# Jenesius Vue Modal | ||
Jenesius vue modal is simple library for **Vue 3** only. | ||
Jenesius vue modal is simple library for **Vue 3** only.[Web](https://modal.jenesius.com/) | ||
![](https://img.shields.io/github/stars/Jenesius/vue-modal) | ||
![Greet everyone](https://github.com/Jenesius/vue-modal/actions/workflows/node.js.yml/badge.svg) | ||
![](https://img.shields.io/npm/l/jenesius-vue-modal) | ||
![](https://img.shields.io/github/package-json/dependency-version/jenesius/vue-modal/vue) | ||
[Examples](https://modal.jenesius.com/) | ||
### Installation | ||
@@ -12,0 +11,0 @@ |
8466
84
89