Skip to content

Commit 744a822

Browse files
committed
✨ Updates code example
1 parent 1cf9f9b commit 744a822

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ Then use it as follows:
3535
Open dialog
3636
</button>
3737

38-
<a11y-dialog id="app-dialog" app-root="#app" @dialog-ref="assignDialogRef">
38+
<a11y-dialog
39+
id="app-dialog"
40+
app-root="#app"
41+
dialog-root="#dialog-root"
42+
@dialog-ref="assignDialogRef"
43+
>
3944
<h1 slot="title">Your dialog title</h1>
4045
<div>
4146
<p>Your content</p>

0 commit comments

Comments
 (0)