CSSMedia Class |
The CSSMedia type exposes the following members.
Name | Description | |
---|---|---|
MediaList | Array of media queries. | |
Range | The associated rule (@media or @import) header range in the enclosing stylesheet (if available). | |
Source | 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. | |
SourceURL | URL of the document containing the media query description. | |
StyleSheetId | Identifier of the stylesheet containing this object (if exists). | |
Text | Media query text. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToDictionary | (Inherited from DevToolsDomainEntityBase) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |