Contents

type

A string that represents the media type of the current view used for rendering the document.

Declaration

readonly attribute DOMString type;

Discussion

For pages being displayed on screen, this property value is screen. When printing, this property value is print.

See Also

Related Documentation