MediaList in DOM Level 2 StyleSheets

(no overview available)

Instance Properties

name type description
length Number (read only)
mediaText String

Instance Methods

name returns description
appendMedium(newMedium) (none)
deleteMedium(oldMedium) (none)
item(index) String


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)