Skip to main content
Indicates the type of media to emulate, such as ‘screen’ for typical browser viewing or ‘print’ for how the page would look when printed.

Definition

enum MediaType {
  SCREEN
  PRINT
}

Values

SCREEN

Emulate the screen media type. This is the default for web browsing.

PRINT

Emulate the print media type. Useful for testing how a page will look when printed.
I