Skip to content

Commit

Permalink
ensure invokeaction for picker buttons
Browse files Browse the repository at this point in the history
Fixes #38
  • Loading branch information
keithamus committed May 7, 2024
1 parent cea4654 commit 3a3d86e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h2>Initial Actions</h2>

<details>
<summary>Future Actions</summary>
<button invoketarget="my-file-input">
<button invoketarget="my-file-input" invokeaction="showPicker">
This will open the file picker
</button>
<input type="file" id="my-file-input" />
Expand All @@ -83,7 +83,7 @@ <h2>Initial Actions</h2>

<hr />

<button invoketarget="my-select" interesttarget="select-explainer">
<button invoketarget="my-select" invokeaction="showPicker" interesttarget="select-explainer">
This will open the select
</button>
<select id="my-select">
Expand Down

0 comments on commit 3a3d86e

Please sign in to comment.