Chartbreaker
    Preparing search index...

    Interface Screen

    The Screen interface represents a screen, usually the one on which the current window is being rendered, and is obtained using window.screen.

    MDN Reference

    interface Screen {
        availHeight: number;
        availWidth: number;
        colorDepth: number;
        height: number;
        orientation: ScreenOrientation;
        pixelDepth: number;
        width: number;
    }
    Index

    Properties

    availHeight: number

    The read-only Screen interface's availHeight property returns the height, in CSS pixels, of the space available for Web content on the screen.

    MDN Reference

    availWidth: number

    The Screen.availWidth property returns the amount of horizontal space (in CSS pixels) available to the window.

    MDN Reference

    colorDepth: number

    The Screen.colorDepth read-only property returns the color depth of the screen.

    MDN Reference

    height: number

    The Screen.height read-only property returns the height of the screen in CSS pixels.

    MDN Reference

    orientation: ScreenOrientation

    The orientation read-only property of the An instance of ScreenOrientation representing the orientation of the screen.

    MDN Reference

    pixelDepth: number

    Returns the bit depth of the screen.

    MDN Reference

    width: number

    The Screen.width read-only property returns the width of the screen in CSS pixels.

    MDN Reference