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:
13
docs/components/modal/examples/ModalEscapableExample.vue
Normal file
13
docs/components/modal/examples/ModalEscapableExample.vue
Normal 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>
|
||||
Reference in New Issue
Block a user