type
< css | media queries | apis
type
This page has been flagged with the following issues:
High-level issues:
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)
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here