Package

org.scalajs.dom

experimental

Permalink

package experimental

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. experimental
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Body extends Object

    Permalink

    See body interface in whatwg Fetch spec.

    See body interface in whatwg Fetch spec.

    see also Body in MDN

    Annotations
    @RawJSType() @native()
  2. type BodyInit = |[|[|[Blob, BufferSource], FormData], String]

    Permalink

    defined at ¶6.2 Body mixin in whatwg Fetch spec

  3. type ByteString = String

    Permalink

    This type should capture strings consisting only of ASCII chars todo: is there a way to capture this type?

  4. trait Chunk[+T] extends Object

    Permalink

    See ¶2 Model but mostly the examples in the whatwg streams spec

    See ¶2 Model but mostly the examples in the whatwg streams spec

    Annotations
    @RawJSType() @native()
  5. class Headers extends Object with Iterable[Array[ByteString]]

    Permalink

    ¶6.1 Headers Class of whatwg spec

    ¶6.1 Headers Class of whatwg spec

    The Headers interface of the Fetch API allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs. You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence.

    For security reasons, some headers can only be controller by the user agent. These headers include the forbidden header names and forbidden response header names.

    A Headers object also has an associated guard, which takes a value of immutable, request, request-no-cors, response, or none. This affects whether the set(), delete(), and append() methods will mutate the header. For more information see Guard.

    You can retrieve a Headers object via the Request.headers and Response.headers properties, and create a new Headers object using the Headers.Headers() constructor.

    MDN

    Annotations
    @RawJSType() @native() @JSGlobal()
  6. type HeadersInit = |[|[Headers, Sequence[Sequence[ByteString]]], OpenEndedDictionary[ByteString]]

    Permalink

    defined at ¶6.1 Header Class in whatwg Fetch spec todo: it should be OpenEndedDictionary[ByteString]

  7. trait HttpMethod extends Any

    Permalink

    This is not typed in the Fetch API but it is easy to create the most common defaults.

    This is not typed in the Fetch API but it is easy to create the most common defaults.

    Annotations
    @RawJSType() @native()
  8. class Notification extends raw.EventTarget

    Permalink

    The Notification interface allows to notify users of an incoming message or event.

    The Notification interface allows to notify users of an incoming message or event.

    NOTE: requires permission Note: This feature is available in Web Workers.

    MDN

    returns

    a new Notification

    Annotations
    @RawJSType() @JSGlobal( "Notification" ) @native()
  9. trait NotificationOptions extends Object

    Permalink
    Annotations
    @RawJSType() @native()
  10. type OpenEndedDictionary[T] = Dictionary[T]

    Permalink

    see ¶6.1 Headers class in whatwg Fetch spec.

    see ¶6.1 Headers class in whatwg Fetch spec. also see: issue 164 in Fetch API git repo, as this is not clearly defined

  11. trait ReadableStream[+T] extends Object

    Permalink

    defined at ¶2.1. Readable Streams of whatwg Streams spec.

    defined at ¶2.1. Readable Streams of whatwg Streams spec.

    T

    Type of the Chunks returned by the Stream. Can't make it coveriant, due to T

    Annotations
    @RawJSType() @native()
  12. class ReadableStreamController[-T] extends Object

    Permalink

    ¶3.3 Class ReadableStreamController of whatwg spec

    ¶3.3 Class ReadableStreamController of whatwg spec

    The ReadableStreamController constructor cannot be used directly; it only works on a ReadableStream that is in the middle of being constructed.

    T

    Type of the Chunks to be enqueued to the Stream

    Annotations
    @RawJSType() @native() @JSGlobal()
  13. class ReadableStreamReader[+T] extends Object

    Permalink

    See ¶3.4. Class ReadableStreamReader of whatwg streams spec.

    See ¶3.4. Class ReadableStreamReader of whatwg streams spec.

    The ReadableStreamReader class represents a readable stream reader designed to be vended [sic] by a ReadableStream instance.

    The ReadableStreamReader constructor is generally not meant to be used directly; instead, a stream’s getReader() method should be used. This allows different classes of readable streams to vend different classes of readers without the consumer needing to know which goes with which.

    T

    Type of the Chunks returned by the Stream

    Annotations
    @RawJSType() @native() @JSGlobal()
  14. sealed trait ReferrerPolicy extends Any

    Permalink
    Annotations
    @RawJSType() @native()
  15. class Request extends Object

    Permalink

    The Request interface of the Fetch API represents a resource request.

    The Request interface of the Fetch API represents a resource request. MDN

    see ¶6.3 Request Class in whatwg spec

    Annotations
    @RawJSType() @native() @JSGlobal()
  16. sealed trait RequestCache extends Any

    Permalink

    Fetch APIs RequestCache enum

    Fetch APIs RequestCache enum

    Annotations
    @RawJSType() @native()
  17. sealed trait RequestCredentials extends Any

    Permalink

    Fetch APIs RequestCredentials enum

    Annotations
    @RawJSType() @native()
  18. sealed trait RequestDestination extends Any

    Permalink

    Fetch APIs RequestDestination enum

    Annotations
    @RawJSType() @native()
  19. type RequestInfo = |[String, Request]

    Permalink

    defined at ¶6.3 Request class of whatwg Fetch spec

  20. trait RequestInit extends Object

    Permalink

    See RequestInit in Fetch API The underlying object is a dictionary.

    See RequestInit in Fetch API The underlying object is a dictionary. This trait is here to help encode the types.

    Annotations
    @ScalaJSDefined() @RawJSType()
  21. sealed trait RequestMode extends Any

    Permalink

    Fetch API's RequestMode enum

    Fetch API's RequestMode enum

    Annotations
    @RawJSType() @native()
  22. sealed trait RequestRedirect extends Any

    Permalink

    Fetch API's RequestRedirect enum

    Annotations
    @RawJSType() @native()
  23. sealed trait RequestType extends Any

    Permalink

    Fetch APIs RequestType enum

    Fetch APIs RequestType enum

    Annotations
    @RawJSType() @native()
  24. class Response extends Object with Body

    Permalink

    ¶6.4 Response class in whatwg spec

    ¶6.4 Response class in whatwg spec

    Annotations
    @RawJSType() @native() @JSGlobal()
  25. trait ResponseInit extends Object

    Permalink

    See ¶6.4 Response class definition in whatwg Fetch spec.

    See ¶6.4 Response class definition in whatwg Fetch spec.

    Annotations
    @ScalaJSDefined() @RawJSType()
  26. sealed trait ResponseType extends Any

    Permalink
    Annotations
    @RawJSType() @native()
  27. type Sequence[T] = Array[T]

    Permalink

    WebIDL sequence<T> is js.Array[T] | JSIterable[T].

    WebIDL sequence<T> is js.Array[T] | JSIterable[T]. However @mseddon knows at least Blink's IDL compiler treats these as simply js.Array[T] for now. We keep this type as a reminder to check in more detail

  28. class URL extends Object

    Permalink

    The URL() constructor returns a newly created URL object representing the URL defined by the parameters.

    The URL() constructor returns a newly created URL object representing the URL defined by the parameters.

    MDN

    Annotations
    @RawJSType() @native() @JSGlobal()
  29. sealed trait WriteableState extends Any

    Permalink

    ¶4.2.4.3. get state of whatwg streams spec

    ¶4.2.4.3. get state of whatwg streams spec

    Annotations
    @RawJSType() @native()
  30. trait WriteableStream[-T] extends Object

    Permalink

    ¶4.2. Class WritableStream of whatwg Stream spec

    ¶4.2. Class WritableStream of whatwg Stream spec

    todo: the constructor

    T

    Type of the Chunks to be written to the Stream

    Annotations
    @RawJSType() @native()

Value Members

  1. object Fetch extends Object

    Permalink
    Annotations
    @native() @JSGlobalScope()
  2. object Fullscreen

    Permalink

    Full Screen API

  3. object HttpMethod

    Permalink
  4. object Notification extends Object

    Permalink

    Implicit imports for the notification api.

    Implicit imports for the notification api.

    https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API

    Annotations
    @native() @JSGlobal()
  5. object NotificationOptions

    Permalink
  6. object PointerLock

    Permalink

    Pointer Lock API

  7. object ReferrerPolicy

    Permalink
  8. object RequestCache

    Permalink
  9. object RequestCredentials

    Permalink
  10. object RequestDestination

    Permalink
  11. object RequestInit

    Permalink
  12. object RequestMode

    Permalink
  13. object RequestRedirect

    Permalink
  14. object RequestType

    Permalink
  15. object Response extends Object

    Permalink

    static methods associated with a Response object in ¶6.4 Response class of whatwg Fetch spec.

    static methods associated with a Response object in ¶6.4 Response class of whatwg Fetch spec.

    Annotations
    @native() @JSGlobal()
  16. object ResponseInit

    Permalink
  17. object ResponseType

    Permalink

    see https://fetch.spec.whatwg.org/#responsetype of whatwg Fetch spec

  18. object Vibration

    Permalink

    Implicit imports for the vibration api.

    Implicit imports for the vibration api.

    http://www.w3.org/TR/2015/REC-vibration-20150210/

  19. object WriteableState

    Permalink
  20. package beacon

    Permalink

    The Beacon interface is used to schedule an asynchronous and non-blocking request to a web server.

    The Beacon interface is used to schedule an asynchronous and non-blocking request to a web server. Beacon requests use the HTTP PUT method and requests typically do not require a response. Requests are guaranteed to be initiated before a page is unloaded and they are run to completion without requiring a blocking request (for example XMLHttpRequest).

    MDN

    See also

    MDN Beacon API

    Beacon W3C Working Draft

  21. package deviceorientation

    Permalink

    Implements the Device Orientation API, Editor's draft, 26 February 2016.

    Implements the Device Orientation API, Editor's draft, 26 February 2016.

    http://w3c.github.io/deviceorientation/spec-source-orientation.html

  22. package domparser

    Permalink
  23. package gamepad

    Permalink

    Implements the Gamepad API.

    Implements the Gamepad API.

    W3C Working Draft

  24. package intl

    Permalink

    The Intl object is the namespace for the ECMAScript Internationalization API, which provides language sensitive string comparison, number formatting, and date and time formatting.

    The Intl object is the namespace for the ECMAScript Internationalization API, which provides language sensitive string comparison, number formatting, and date and time formatting.

    The constructors for Collator, NumberFormat, and DateTimeFormat objects are properties of the Intl object. This page documents these properties as well as functionality common to the internationalization constructors and other language sensitive functions.

    MDN

  25. package mediastream

    Permalink
  26. package permissions

    Permalink

    Implements the Permissions API.

    Implements the Permissions API.

    W3C Working Draft

  27. package push

    Permalink

    The Push API is currently specified here: http://www.w3.org/TR/2015/WD-push-api-20151215/

  28. package serviceworkers

    Permalink

    Service Workers

    Service Workers

    See also

    Service Workers W3C Working Draft

  29. package sharedworkers

    Permalink
  30. package webgl

    Permalink
  31. package webrtc

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped