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
type
Related pages
- StyleMediaStyleMedia
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]