1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-07-18 20:59:37 +02:00
it-tools/src/ui/c-modal/c-modal.demo.vue
2023-06-19 00:35:50 +02:00

15 lines
233 B
Vue

<script lang="ts" setup>
const modal1 = ref();
</script>
<template>
<div>
<c-button @click="() => modal1?.open()">
Open Modal
</c-button>
<c-modal ref="modal1">
Content
</c-modal>
</div>
</template>