feat(modal-property): additional exit functionality (#169)

fix(accessibility): aria-label the close button for screenreaders
docs: adds an example and escapable info section to documentation
This commit is contained in:
Nick Adams
2023-07-15 02:56:15 -06:00
committed by GitHub
parent 7569ca63be
commit 10be366d17
4 changed files with 65 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
<template>
<div class="vp-raw flex justify-start space-x-2">
<span>
<ModalExample trigger-text="Escapable" />
</span>
<span>
<ModalExample :escapable="false" trigger-text="Not Escapable" />
</span>
</div>
</template>
<script setup>
import ModalExample from './ModalExample.vue'
</script>