type

< css‎ | media queries‎ | apis
Jump to: navigation, search

type



Summary

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

Property of css/media_queries/apis/StyleMedia

Syntax

Note: This property is read-only.

var mediaType = window.styleMedia.type;

Return Value

Returns an object of type String.

The media type of the current document.

Needs Examples: This section should include examples.



Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related articles

Media Queries














  • type











Related pages (MSDN)

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]