Skip to content

Commit

Permalink
showDirectoryPicker always returns 1 handle (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
vapier committed Mar 20, 2024
1 parent d217064 commit f443f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ these steps:
:: Shows a directory picker that lets the user select a single directory, returning a handle for
the selected directory if the user grants read permission.

: handles = await window . {{Window/showDirectoryPicker()}}({ {{DirectoryPickerOptions/mode}}: 'readwrite' })
: |handle| = await window . {{Window/showDirectoryPicker()}}({ {{DirectoryPickerOptions/mode}}: 'readwrite' })
:: Shows a directory picker that lets the user select a single directory, returning a handle for
the selected directory. The user agent can combine read and write permission requests on this handle into
one subsequent prompt.
Expand Down

0 comments on commit f443f21

Please sign in to comment.