This page is In Progress

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

type

Summary

Gets the media type of the object that displays the Document object

Property of css/media_queries/apis/StyleMediacss/media_queries/apis/StyleMedia

Syntax

Note: This property is read-only.

var mediaType = window.styleMedia.type;

Return Value

Returns an object of type StringString

The media type of the current document.

See also

Related articles

Media Queries

Related pages

Attributions