org.scalajs.dom.experimental.serviceworkers

WindowClient

trait WindowClient extends Object with Client

The WindowClient interface of the ServiceWorker API represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources.

MDN

Annotations
@RawJSType() @native()
Linear Supertypes
Client, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WindowClient
  2. Client
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def focus(): Promise[WindowClient]

    Gives user input focus to the current client and returns a Promise that resolves to the existing WindowClient.

    Gives user input focus to the current client and returns a Promise that resolves to the existing WindowClient.

    MDN

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def focused: Boolean

    The focused read-only property of the WindowClient interface is a Boolean that indicates whether the current client has focus.

    The focused read-only property of the WindowClient interface is a Boolean that indicates whether the current client has focus.

    MDN

  12. def frameType: FrameType

    Definition Classes
    Client
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. def id: String

    The id attribute must return its associated service worker client's id.

    The id attribute must return its associated service worker client's id.

    Definition Classes
    Client
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  19. def navigate(url: String): Promise[WindowClient]

    See ¶4.2.8 navigate(url) of ServiceWorker whatwg spec.

    See ¶4.2.8 navigate(url) of ServiceWorker whatwg spec.

    returns

    Promse[WindowClient] or null

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def postMessage(message: Any, transfer: Sequence[Transferable] = null): Unit

    message

    the spec says this is of type any (?!)

    transfer

    https://html.spec.whatwg.org/multipage/infrastructure.html#transferable-objects

    Definition Classes
    Client
  24. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toLocaleString(): String

    Definition Classes
    Object
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. def url: String

    The url attribute must return the context object's associated service worker client's serialized creation url.

    The url attribute must return the context object's associated service worker client's serialized creation url.

    Definition Classes
    Client
  29. def valueOf(): Any

    Definition Classes
    Object
  30. def visibilityState: String

    The visibilityState read-only property of the WindowClient interface indicates the visibility of the current client.

    The visibilityState read-only property of the WindowClient interface indicates the visibility of the current client. This value can be one of hidden, visible, prerender, or unloaded.

    MDN

  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Client

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped