styleMedia
Summary
Gets a StyleMedia object that contains methods and properties. These methods and properties determine the media types that are supported by the object that displays the document object.
Property of dom/Windowdom/Window
Syntax
Note: This property is read-only.
var styleMedia = window.styleMedia;
Return Value
Returns an object of type DOM NodeDOM Node
Of type StyleMedia. Returns the StyleMedia instance object.
Examples
var stype=window.styleMedia.type;
See also
Related articles
CSSOM
styleMedia
Attributions
Microsoft Developer Network: [styleMedia Method Article]