Reputation: 41
Is there a way to open new browser window from Service Worker like
window.open(...)
?
Clients.openWindow()
or
WindowClient.navigate()
not something I need, and open new tab only.
Upvotes: 4
Views: 3088
Reputation: 56044
I'm not clear as to why you explicitly call out Clients.openWindow()
as not being something you need, because what you describe is the intended use case for Clients.openWindow()
. That's as close as you'll get to a solution.
Upvotes: 2