data class CSSMedia
(source)
CSS media rule descriptor.
Link
CSS#CSSMedia type documentation.
CSSMedia(text: String, source: String, sourceURL: String? = null, range: SourceRange? = null, styleSheetId: StyleSheetId? = null, mediaList: List<MediaQuery>? = null)
CSS media rule descriptor. |
val mediaList: List<MediaQuery>?
Array of media queries. |
|
val range: SourceRange?
The associated rule (@media or @import) header range in the enclosing stylesheet (if available). |
|
val source: String
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. |
|
val sourceURL: String?
URL of the document containing the media query description. |
|
val styleSheetId: StyleSheetId?
Identifier of the stylesheet containing this object (if exists). |
|
val text: String
Media query text. |