Click or drag to resize

CSSMedia Properties

Version 105.3.390

The CSSMedia type exposes the following members.

Properties
  NameDescription
Public propertyMediaList
Array of media queries.
Public propertyRange
The associated rule (@media or @import) header range in the enclosing stylesheet (if available).
Public propertySource
Source of the media query: "mediaRule" if specified by a @media rule, "importRule" if specified by an @import rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag.
Public propertySourceURL
URL of the document containing the media query description.
Public propertyStyleSheetId
Identifier of the stylesheet containing this object (if exists).
Public propertyText
Media query text.
Top
See Also