@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="WindowClient")
public class WindowClient
extends Client
| Modifier | Constructor and Description |
|---|---|
protected |
WindowClient() |
| Modifier and Type | Method and Description |
|---|---|
JsArray<java.lang.String> |
ancestorOrigins() |
@JsNonNull Promise<WindowClient> |
focus()
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.
|
boolean |
focused()
The focused read-only property of the WindowClient interface is a Boolean that indicates whether the current client has focus.
|
@JsNonNull Promise<WindowClient> |
navigate(java.lang.String url)
The navigate() method of the WindowClient interface loads a specified URL into a controlled client page then returns a Promise that resolves to the existing WindowClient.
|
java.lang.String |
visibilityState()
The visibilityState read-only property of the WindowClient interface indicates the visibility of the current client.
|
frameType, id, postMessage, postMessage, postMessage, postMessage, type, urlassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@JsProperty(name="ancestorOrigins") @Nonnull public JsArray<java.lang.String> ancestorOrigins()
@JsProperty(name="focused") public boolean focused()
@JsProperty(name="visibilityState") @Nonnull @VisibilityState public java.lang.String visibilityState()
public @JsNonNull Promise<WindowClient> focus()
public @JsNonNull Promise<WindowClient> navigate(@Nonnull java.lang.String url)