Trait

org.scalajs.dom.experimental.serviceworkers

WindowClient

Related Doc: package serviceworkers

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Permalink

    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: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

    Permalink

    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

  10. def frameType: FrameType

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

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

    Permalink
    Definition Classes
    Object
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def id: String

    Permalink

    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
  15. final def isInstanceOf[T0]: Boolean

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

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

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

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

    Permalink

    message

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

    transfer

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def url: String

    Permalink

    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
  27. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  28. def visibilityState: String

    Permalink

    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

  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Client

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped