focus method

@AvailableInWorkers("service")

The focus() method of the WindowClient interface gives user input focus to the current client and returns a Promise that resolves to the existing WindowClient.

Implementation

external JSPromise<WindowClient> focus();