@fugu-angular/file-handling
v0.0.2
Published
This is a [schematic](https://angular.io/guide/schematics) for adding [File Handling](https://developer.chrome.com/docs/capabilities/web-apis/file-handling) support to an Angular PWA project. Run the schematic with the [Angular CLI](https://angular.io/cli
Downloads
6
Readme
@fugu-angular/file-handling
This is a schematic for adding File Handling support to an Angular PWA project. Run the schematic with the Angular CLI:
ng add @fugu-angular/file-handling --project <project-name>
Executing the command mentioned above will perform the following actions:
- Adds required dependencies to your project.
- Adds the
file_handling
property to the manifest.webmanifest file. If you do not have a manifest, runng add @angular/pwa
first. - Adds the necessary media types and file extensions to the manifest.
- Provides a
LaunchQueue
service for responding to app launches.
See Let installed web applications be file handlers for more information.