Skip to content

Commit 7994b07

Browse files
committed
Add open attribute to the dialog element example
1 parent d979781 commit 7994b07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

partials/section.interactive.hbs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818
<!-- Start of #subsection-dialog -->
1919
<h3 id="subsection-dialog">Dialog</h3>
20-
<dialog id="dialog">
20+
<dialog
21+
open
22+
id="dialog">
23+
<h2>This is a dialog title</h2>
2124
<p>This is dialog content.</p>
2225
<button type="button">
2326
Close

0 commit comments

Comments
 (0)