Skip to content

Commit

Permalink
Change invokeaction on close dialog button
Browse files Browse the repository at this point in the history
  • Loading branch information
YummyBacon5 authored Oct 2, 2023
1 parent ed5d4d9 commit 7d7965c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h1>InvokeTarget &amp; InvokeAction</h1>
</button>

<dialog id="my-dialog">
<button invoketarget="my-dialog" aria-label="Close dialog">x</button>
<button invoketarget="my-dialog" invokeaction="close" aria-label="Close dialog">x</button>
This is a dialog. Press the Close button (X) to close it
</dialog>

Expand Down

0 comments on commit 7d7965c

Please sign in to comment.