CSSMedia
@Serializable
CSS media rule descriptor.
Constructors
Link copied to clipboard
constructor(text: String, source: String, sourceURL: String? = null, range: CSS.SourceRange? = null, styleSheetId: String? = null, mediaList: List<CSS.MediaQuery>? = null)
Properties
Link copied to clipboard
Array of media queries.
Link copied to clipboard
The associated rule (@media or @import) header range in the enclosing stylesheet (if available).
Link copied to clipboard
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.
Link copied to clipboard
Identifier of the stylesheet containing this object (if exists).