Skip to content

Commit

Permalink
docs(manifest): correct launch-handler array (#4365)
Browse files Browse the repository at this point in the history
## PR Type
<!-- Please uncomment one ore more that apply to this PR -->

<!-- - Bugfix -->
<!-- - Feature -->
<!-- - Code style update (formatting) -->
<!-- - Refactoring (no functional changes, no api changes) -->
<!-- - Build or CI related changes -->
Documentation content changes
<!-- - Sample app changes -->
<!-- - Other... Please describe: -->


## Describe the current behavior?
The array values are not properly separated.


## Describe the new behavior?
The array values are properly separated.

## PR Checklist

- [ ] Test: run `npm run test` and ensure that all tests pass
- [x] Target main branch (or an appropriate release branch if
appropriate for a bug fix)
- [x] Ensure that your contribution follows [standard accessibility
guidelines](https://docs.microsoft.com/en-us/microsoft-edge/accessibility/design).
Use tools like https://webhint.io/ to validate your changes.


## Additional Information
n/a

Co-authored-by: Jaylyn Barbee <51131738+Jaylyn-Barbee@users.noreply.github.com>
  • Loading branch information
dargmuesli and Jaylyn-Barbee authored Sep 18, 2023
1 parent cd87a77 commit 10cd849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/builder/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ The `file_handlers` member is an array of `file_handler` objects, which can cont

* `auto`: The user agent makes the decision based on the context.
* `focus-existing`: If the web app is already open, it is brought into focus without navigating to the launch target URL.
* `navigate-existing`: If the web app is already open, it is brought into focus and naviagates to the URL made available by `Window.launchQueue`
* `navigate-existing`: If the web app is already open, it is brought into focus and navigates to the URL made available by `Window.launchQueue`
* `navigate-new`: A new instance of the web app is opened and it navigates to the URL made available by `Window.launchQueue`

In the second example below, if `navigate-existing` is unavailable it will fallback to the next value in the list.
Expand All @@ -460,7 +460,7 @@ In the second example below, if `navigate-existing` is unavailable it will fallb
}

"launch_handler": {
"client_mode": ["navigate-existing, auto"]
"client_mode": ["navigate-existing", "auto"]
}
```

Expand Down

0 comments on commit 10cd849

Please sign in to comment.