This commit is contained in:
2025-02-26 21:50:27 +01:00
parent fd52c24c08
commit ae8e02fa60
2 changed files with 11 additions and 1 deletions

10
index.html Normal file
View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<body>
<button commandfor="my-modal" command="show-modal" type="button">Click me to open</button>
<dialog id="my-modal">
Hey there!
<button commandfor="my-modal" command="close" type="button">Click me to close</button>
</dialog>
</body>
</html>