happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
17 lines • 486 B
JavaScript
import EventTarget from '../event/EventTarget.js';
/**
* The Screen interface represents a screen, usually the one on which the current window is being rendered.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/Screen
*/
export default class Screen extends EventTarget {
width = 1024;
height = 768;
availWidth = 1024;
availHeight = 768;
colorDepth = 24;
pixelDepth = 24;
// Event handler
onchange = null;
}
//# sourceMappingURL=Screen.js.map