MediaList in DOM Level 2 StyleSheets

(no overview available)

Instance Properties

name type description
mediaText String
length Number (read only)

Instance Methods

name returns description
item() String
deleteMedium() (none)
appendMedium() (none)

Description

Note: This object can also be dereferenced using square bracket notation (e.g. myMediaListObj[1]). Dereferencing with an integer index is equivalent to invoking the item method with that index.

Properties that are a MediaList

name object description
media StyleSheet (read only)
media [css] CSSMediaRule (read only)
media [css] CSSImportRule (read only)