CSSMediaList object
Represents an ordered collection of media types.
![]() ![]() |
Members
The CSSMediaList object has these types of members:
Methods
The CSSMediaList object has these methods.
| Method | Description |
|---|---|
| appendMedium |
Adds a medium to the end of the current list. If the medium is already used, it is first removed. |
| deleteMedium |
Deletes a medium from the current list. |
| item |
Gets the medium at the position number that is indicated by an index in the current list. |
Properties
The CSSMediaList object has these properties.
| Property | Description |
|---|---|
|
Retrieves the number of properties that are explicitly set on the parent object. | |
|
Sets or retrieves the parsable textual representation of the current media list. |
Standards information
See also
Show:

