File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ Then use it as follows:
4141 dialog-root =" #dialog-root"
4242 @dialog-ref =" assignDialogRef"
4343 >
44- <span slot =" title" >Your dialog title</span >
44+ <template v-slot:title >
45+ <span >Your dialog title</span >
46+ </template >
4547 <div >
4648 <p >Your content</p >
4749 </div >
@@ -238,7 +240,9 @@ export default {
238240- ** Usage** :
239241``` html
240242<a11y-dialog >
241- <span slot =" title" >Your dialog title</span >
243+ <template v-slot:title >
244+ <span >Your dialog title</span >
245+ </template >
242246 <!-- ... -->
243247</a11y-dialog >
244248```
@@ -250,7 +254,9 @@ export default {
250254- ** Usage** :
251255``` html
252256<a11y-dialog >
253- <span slot =" closeButtonContent" >Close dialog</span >
257+ <template v-slot:closeButtonContent >
258+ <span >Close dialog</span >
259+ </template >
254260 <!-- ... -->
255261</a11y-dialog >
256262```
You can’t perform that action at this time.
0 commit comments