feat: Some improvements for modal component

Added click outside, persistent and close on Esc
This commit is contained in:
Ilya Artamonov
2023-07-15 13:19:22 +03:00
parent 10be366d17
commit 591789b10f
4 changed files with 100 additions and 72 deletions

View File

@@ -0,0 +1,8 @@
<template>
<div class="vp-raw">
<ModalExample trigger-text="Persistent" :persistent="true" />
</div>
</template>
<script setup>
import ModalExample from './ModalExample.vue'
</script>