MediaList
The MediaList
interface represents the media queries of a stylesheet, e.g., those set using a link element's media
attribute.
Functions
Link copied to clipboard
The appendMedium()
method of the MediaList interface adds a media query to the list.
Link copied to clipboard
The deleteMedium()
method of the MediaList interface removes from this MediaList
the given media query.
Link copied to clipboard
Link copied to clipboard
The item()
method of the MediaList interface returns the media query at the specified index
, or null
if the specified index
doesn't exist.
Link copied to clipboard