File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
example/src/components/basic Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div class =" pb-8" >
3- <vue-final -modal
3+ <v -modal
44 v-model =" showModal"
5- classes =" flex justify-center items-center"
6- content-class =" relative max-h-1/2 p-4 bg-white dark:bg-gray-900 border dark:border-gray-800 rounded-lg overflow-auto"
75 v-bind =" props"
6+ @confirm =" showModal = false"
7+ @cancel =" showModal = false"
88 >
9- <span class = " text-2xl mb-2 " ># Hello, world!</span >
9+ <template v-slot : title ># Hello, world!</template >
1010 <p >
1111 Lorem Ipsum is simply dummy text of the printing and typesetting
1212 industry.
1313 </p >
14- <button
15- class =" absolute top-0 right-0 mt-2 mr-4 text-3xl hover:text-gray-700 leading-none focus:outline-none"
16- @click =" showModal = false"
17- >
18- x
19- </button >
20- </vue-final-modal >
14+ </v-modal >
2115
2216 <button class =" vfm-btn" @click =" showModal = true" >Open Modal</button >
2317
You can’t perform that action at this time.
0 commit comments