Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add File Handling API / file_handlers sample #1024

Merged
merged 6 commits into from
Nov 1, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: amysteamdev <[email protected]>
oliverdunk and AmySteam authored Nov 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 18b9389c8ed1fcdc25e376caca57d674ee9bba60
4 changes: 2 additions & 2 deletions functional-samples/cookbook.file_handlers/README.md
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ way as the
[equivalent API](https://developer.chrome.com/articles/file-handling/) in web
applications.

With this extension installed, you can open .txt files with the extension and see their name and size on the opened extension page. This could be a good starting point for building an extension which displays or interacts with an opened file.
With this extension installed, you can open text files with the extension and see their name and size on the opened extension page. This could be a good starting point for building an extension that displays or interacts with an opened file.

<img src="screenshot.png" height=300 alt="Screenshot showing the File Handling API demo running in Chrome.">

@@ -20,6 +20,6 @@ With this extension installed, you can open .txt files with the extension and se

1. Clone this repository.
2. Load this directory in Chrome as an [unpacked extension](https://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/#load-unpacked).
3. Create a .txt file on your ChromeOS device.
3. Create a text file on your ChromeOS device.
4. In the Files app, select the file.
5. In the toolbar, choose "Open" and then "File Handling API".