Packages

class Screen extends Object

Annotations
@JSType() @native() @JSGlobal()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Screen
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Screen()

Value Members

  1. def availHeight: Double

    Returns the amount of vertical space available to the window on the screen.

    Returns the amount of vertical space available to the window on the screen.

    MDN

  2. def availWidth: Double

    Returns the amount of horizontal space in pixels available to the window.

    Returns the amount of horizontal space in pixels available to the window.

    MDN

  3. def colorDepth: Int

    Returns the color depth of the screen.

    Returns the color depth of the screen.

    MDN

  4. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  5. def height: Double

    Returns the height of the screen in pixels.

    Returns the height of the screen in pixels.

    MDN

  6. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  7. def pixelDepth: Int

    Returns the bit depth of the screen.

    Returns the bit depth of the screen.

    MDN

  8. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  9. def toLocaleString(): String
    Definition Classes
    Object
  10. def valueOf(): Any
    Definition Classes
    Object
  11. def width: Double

    Note that not all of the width given by this property may be available to the window itself.

    Note that not all of the width given by this property may be available to the window itself. When other widgets occupy space that cannot be used by the window object, there is a difference in window.screen.width and window.screen.availWidth. See also window.screen.height.

    MDN