![]() ![]() focus-existing: The most recently interacted with browsing context in a web app window is chosen to handle the launch.navigate-existing: The most recently interacted with browsing context in a web app window is navigated to the launch's target URL.navigate-new: A new browsing context is created in a web app window to load the launch's target URL.The allowed values for the sub-fields are: The example below shows a file with exemplary values that would always route all launches to a new client. It lets you control whether a new or an existing client should be launched and if this client should be navigated. To declaratively specify the launch behavior of your app, add the launch_handler manifest member to your manifest. LaunchQueue : Queues launches until they are handled by the specified consumer. LaunchParams : An object containing the targetURL to be handled by the consumer. The Launch Handler API defines two new interfaces. The origin trial is expected to end in Chromium 106 (October 26, 2022). Starting in Chromium 98, the Launch Handler API is available as an origin trial in Chromium. To experiment with the Launch Handler API locally, without an origin trial token, enable the #enable-desktop-pwas-launch-handler flag in about://flags. During the trial phase you can test the API by one of two methods.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |