Trait/Object

org.scalajs.dom

WindowOrWorkerGlobalScope

Related Docs: object WindowOrWorkerGlobalScope | package dom

Permalink

trait WindowOrWorkerGlobalScope extends Object with WindowBase64 with WindowTimers

The WindowOrWorkerGlobalScope mixin describes several features common to the Window and WorkerGlobalScope interfaces.

Note: WindowOrWorkerGlobalScope is a mixin and not an interface; you can't actually create an object of type WindowOrWorkerGlobalScope.

Annotations
@JSType() @native()
Linear Supertypes
WindowTimers, WindowBase64, Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WindowOrWorkerGlobalScope
  2. WindowTimers
  3. WindowBase64
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 atob(encodedString: String): String

    Permalink

    Decodes a string of data which has been encoded using base-64 encoding.

    Decodes a string of data which has been encoded using base-64 encoding.

    Definition Classes
    WindowBase64
  6. def btoa(rawString: String): String

    Permalink

    Creates a base-64 encoded ASCII string from a "string" of binary data.

    Creates a base-64 encoded ASCII string from a "string" of binary data.

    Definition Classes
    WindowBase64
  7. def caches: UndefOr[CacheStorage]

    Permalink

    Returns the CacheStorage object associated with the current context.

    Returns the CacheStorage object associated with the current context. This object enables functionality such as storing assets for offline use, and generating custom responses to requests.

  8. def clearInterval(handle: Int): Unit

    Permalink

    Cancels repeated action which was set up using setInterval.

    Cancels repeated action which was set up using setInterval.

    Definition Classes
    WindowTimers
  9. def clearTimeout(handle: Int): Unit

    Permalink

    Clears the delay set by window.setTimeout().

    Clears the delay set by window.setTimeout().

    Definition Classes
    WindowTimers
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def createImageBitmap(image: CreateImageBitmapInput, sx: Double, sy: Double, sw: Double, sh: Double, options: CreateImageBitmapOptions): Promise[ImageBitmap]

    Permalink
  12. def createImageBitmap(image: CreateImageBitmapInput, sx: Double, sy: Double, sw: Double, sh: Double): Promise[ImageBitmap]

    Permalink
  13. def createImageBitmap(image: CreateImageBitmapInput, options: CreateImageBitmapOptions): Promise[ImageBitmap]

    Permalink
  14. def createImageBitmap(image: CreateImageBitmapInput): Promise[ImageBitmap]

    Permalink

    Accepts a variety of different image sources, and returns a Promise which resolves to an ImageBitmap.

    Accepts a variety of different image sources, and returns a Promise which resolves to an ImageBitmap. Optionally the source is cropped to the rectangle of pixels originating at (sx, sy) with width sw, and height sh.

  15. def crossOriginIsolated: Boolean

    Permalink

    Returns a boolean value that indicates whether a SharedArrayBuffer can be sent via a Window.postMessage() call.

  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def fetch(info: RequestInfo, init: RequestInit = js.native): Promise[Response]

    Permalink

    Starts the process of fetching a resource from the network.

  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def indexedDB: UndefOr[IDBFactory]

    Permalink

    Provides a mechanism for applications to asynchronously access capabilities of indexed databases.

  24. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Object
  26. def isSecureContext: Boolean

    Permalink

    Returns a boolean indicating whether the current context is secure or not.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def origin: String

    Permalink

    Returns the origin of the global scope, serialized as a string.

  31. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  32. def queueMicrotask(function: Function0[Any]): Unit

    Permalink

    Enqueues a microtask—a short function to be executed after execution of the JavaScript code completes and control isn't being returned to a JavaScript caller, but before handling callbacks and other tasks.

    Enqueues a microtask—a short function to be executed after execution of the JavaScript code completes and control isn't being returned to a JavaScript caller, but before handling callbacks and other tasks.

    This lets your code run without interfering with other, possibly higher priority, code, but before the browser runtime regains control, potentially depending upon the work you need to complete.

  33. def setInterval(handler: Function0[Any], timeout: Double): Int

    Permalink

    Calls a function or executes a code snippet repeatedly, with a fixed time delay between each call to that function.

    Calls a function or executes a code snippet repeatedly, with a fixed time delay between each call to that function.

    Definition Classes
    WindowTimers
  34. def setTimeout(handler: Function0[Any], timeout: Double): Int

    Permalink

    Calls a function or executes a code snippet after a specified delay.

    Calls a function or executes a code snippet after a specified delay.

    Definition Classes
    WindowTimers
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  38. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  39. final def wait(): Unit

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

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

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

Inherited from WindowTimers

Inherited from WindowBase64

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped