Trait

org.scalajs.dom

WorkerNavigator

Related Doc: package dom

Permalink

trait WorkerNavigator extends Object with NavigatorID with NavigatorOnLine with NavigatorLanguage

The WorkerNavigator interface represents a subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator

Annotations
@JSType() @native()
Linear Supertypes
NavigatorLanguage, NavigatorOnLine, NavigatorID, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WorkerNavigator
  2. NavigatorLanguage
  3. NavigatorOnLine
  4. NavigatorID
  5. Object
  6. Any
  7. AnyRef
  8. 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. def appName: String

    Permalink

    Returns the name of the browser.

    Returns the name of the browser. The HTML5 specification also allows any browser to return "Netscape" here, for compatibility reasons.

    Definition Classes
    NavigatorID
  5. def appVersion: String

    Permalink

    Returns the version of the browser as a string.

    Returns the version of the browser as a string. It may be either a plain version number, like "5.0", or a version number followed by more detailed information. The HTML5 specification also allows any browser to return "4.0" here, for compatibility reasons.

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

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Object
  16. def language: String

    Permalink

    Returns a DOMString representing the preferred language of the user, usually the language of the browser UI.

    Returns a DOMString representing the preferred language of the user, usually the language of the browser UI. The null value is returned when this is unknown.

    Definition Classes
    NavigatorLanguage
  17. def languages: Array[String]

    Permalink

    Returns a Array of DOMStrings representing the the user's preferred languages.

    Returns a Array of DOMStrings representing the the user's preferred languages. The language is described using BCP 47 language tags. The null value is returned when this is unknown.

    Definition Classes
    NavigatorLanguage
  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 onLine: Boolean

    Permalink

    Returns the online status of the browser.

    Returns the online status of the browser. The property returns a boolean value, with true for being online and false for being offline. The property sends updates whenever the browser's ability to connect to the network changes. The update occurs when the user follows links or when a script requests a remote page. For example, the property should return false when users click links soon after they lose internet connection.

    Definition Classes
    NavigatorOnLine
  22. def platform: String

    Permalink

    Returns a string representing the platform of the browser.

    Returns a string representing the platform of the browser.

    Definition Classes
    NavigatorID
  23. def propertyIsEnumerable(v: String): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. def userAgent: String

    Permalink

    Returns the user agent string for the current browser.

    Returns the user agent string for the current browser.

    Definition Classes
    NavigatorID
  28. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  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( ... )

Deprecated Value Members

  1. def sendBeacon(url: String, data: BodyInit = js.native): Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) sendBeacon is not supported in web workers

Inherited from NavigatorLanguage

Inherited from NavigatorOnLine

Inherited from NavigatorID

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped